About
A batch script is interpreted by:
- command.com
- or cmd.exe
Articles Related
How to
know the interpreter
To get the interpreter location, use the variable ComSpec:
>echo %ComSpec%
C:\Windows\system32\cmd.exe
or the dynamic variable %CMDCMDLINE%
echo %CMDCMDLINE%
"C:\Windows\system32\cmd.exe"