如何在执行程序的同时设置cmd的工作目录
我目前有一个命令,我认为可以做到这一点:
START /WAIT cmd.exe /d tester test.cmd
虽然它似乎不起作用,但它只更改目录,而不执行 test.cmd
I currently have a command that I thought did this:
START /WAIT cmd.exe /d tester test.cmd
Although it does not appear to work, it only changes the directory, not executing test.cmd
尝试使用:
或者简单地:
Try with:
Or simply: