use Executable Extensions: .bat and .cmd

E

ente59

Guest
#1
Hello,

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
Heiko...

use Executable Extensions: .bat and .cmd