我有一個在網絡上運行的應用程序。我需要能夠運行批處理文件該應用程序,並已結束了使用此:使用START運行網絡應用程序後隱藏CMD窗口
pushd \\server\folder
start /wait program.exe
從消息說
除了...
\\server\folder CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory.
...它工作正常,但CMD窗口仍然存在。我知道/等待是原因,但是如果我使用/等待,似乎只能讓程序成功運行。如果我刪除/等待,那麼我會從程序中獲得關於無法成功啓動的奇怪錯誤。
還有什麼我可以嘗試的?
我覺得/分鐘只會降低我運行程序。我試圖隱藏通過啓動應用程序創建的批處理文件生成的CMD窗口。 – Jesse 2009-10-19 18:19:57