use Executable Extensions: .bat and .cmd

Discussion in 'More' started by ente59, Oct 5, 2015.

  1. ente59

    ente59 Guest


    the following command is not working:
    set .bat;.cmd=C:\Windows\system32\cmd.exe /c

    Why do I want to set this.
    I want that really all .bat files and all .cmd files are really executed from within cmd.exe.

    Without this all .bat/.cmd files are executed with tcc.

    One possibility is to change ftype batfile and ftype cmdfile.

    But doing this every batchfile form within cmd context is started with a sub shell.

    And this is not what I want.

    Can anyone give me a hint.

    best regards

    use Executable Extensions: .bat and .cmd

Share This Page

Forums Teetk