I\'m trying to open a new command window in a BAT file:
start %windir%\\system32\\cmd.exe
After it opens, I\'d like to execute a BAT comman
Adding /k between two commands executes both command in order.
/k
in order
Example:
cmd /k echo "hello"
this command will first open command prompt then execute echo "hello" command
command prompt
echo "hello"