Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用这个:
start /b cmd /c "C:\Windows\notepad.exe" start /b cmd /c "C:\Program Files\Google\Chrome\Application\chrome.exe" start /b cmd /c "C:\Program Files\Skype\Phone\Skype.exe" exit
上述工作,但保持提示/终端窗口打开。一旦最后一个应用程序打开,如何从 bat/cmd 文件中关闭它?
请尝试以下操作:
C: cd \Windows start notepad.exe cd "\Program Files\Google\Chrome\Application" start chrome.exe cd "\Program Files\Skype\Phone" start Skype.exe exit
这可能是您的启动 cmd - 只需启动应用程序