Dos - Interpreter

About

A batch script is interpreted by:

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"

Powered by ComboStrap