Dec 19, 2020

[Windows] cmd command that open a new window to run another command

Using a batch file, at times we need to run more than 1 command in a separate window.

To run command in a separate window and close when done,
start cmd /c command

To run command in a separate window and leave it open when done,
start cmd /k command


No comments:

Post a Comment