How to create batch file in Windows using “start” with a path and command with spaces

前端 未结 7 1507
孤独总比滥情好
孤独总比滥情好 2020-11-27 12:54

I need to create a batch file which starts multiple console applications in a Windows .cmd file. This can be done using the start command.

However, the command has

相关标签:
7条回答
  • 2020-11-27 13:40

    Surrounding the path and the argument with spaces inside quotes as in your example should do. The command may need to handle the quotes when the parameters are passed to it, but it usually is not a big deal.

    0 讨论(0)
提交回复
热议问题