我創建了一個啓動bat文件看起來像這樣啓動批處理文件掛斷上第二個命令
taskkill /im RemoteDesktopManager.exe
C:\Users\kheradmand\AppData\Local\Google\Chrome\Application\chrome.exe
"C:\Program Files (x86)\JetBrains\PhpStorm 7.1.2\bin\PhpStorm.exe"
"C:\Program Files\Mozilla Firefox\firefox.exe"
它的第一和第二,但不會再往前走,他們都存在
我怎樣才能解決這個問題?
更新:我試圖通過@ phd443322提供建議,並寫了:
taskkill /im RemoteDesktopManager.exe
start "" /w C:\Users\kheradmand\AppData\Local\Google\Chrome\Application\chrome.exe
start "" /w "C:\Program Files (x86)\JetBrains\PhpStorm 7.1.2\bin\PhpStorm.exe"
start "" /w "C:\Program Files\Mozilla Firefox\firefox.exe"
intrestingly每個命令仍在等待着被關閉該程序繼續到下一個。
那麼爲什麼還不行?
你能把「開始」,在每個前面的.exe打電話? http://superuser.com/questions/413939/how-to-start-a-program-with-command-line-arguments-on-windows-cmd-with-start – kenny
你有沒有試過phd443322和Magoo的建議? – foxidrive
它等待,因爲您告訴它等待/ w選項。所以刪除/ w。例如 –