开发者

Create A Batch file to Run an EXE amd close it after the Exe is complete

i need to write a batch file to run an executable. However this exe will not close by itself after running. It requires the user to hit enter to close the exe which is trigger from the batch file.

Now is that my exe and my batch file will be there until i manually hit enter to close the exe then the batch file will proceed and end this job

Is there a way to detect the com开发者_StackOverflowpletion of the exe and end the exe from the batch file itself?

Thanks


Have you tried using the start command with a Windows .CMD file?

start "" "C:\Program Files\Adobe\Adobe Photoshop CS4\Photoshop.exe"

Source: https://superuser.com/questions/191149/how-to-execute-cmd-exe-silently

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜