After executing the operation with the start command, the window where start is located will be automatically closed. How to start other bats without closing the initial cmd window?
The way is as follows:
Example 1
The contents of the startup script start.bat are as follows:
cmd /k "C\MyPath\TEST.BAT"
After running TEST.bat in this way, the cmd window where start.bat is located will not be automatically closed.
Example 2:
start vcvarsall.bat
cmd /k "D:\Program Filesx86\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64