我有一个在网络上运行的应用程序。我需要能够运行批处理文件该应用程序,并已结束了使用此:使用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