Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
pause batch until exe window is closed
Name: BOBDESK Date: June 8, 2009 at 22:12:41 Pacific OS: Windows XP CPU/Ram: athlon 64/2 mb Subcategory: Batch
Comment:
Hey Guys:
I want to pause a batch until an exe called by batch is closed. tried a bunch of commands start/wait pause ping
Start "" /W "Your_Exe" shpuld work, anyway just run your .exe inside the batch by coding
..... "Your_Exe" ........
A batch file executes statemebts sequentially, so it stops to go on until the invoked .exe is closed.
0
Response Number 2
Name: BOBDESK Date: June 9, 2009 at 06:40:37 Pacific
Reply:
Does not work program is as follows: @ECHO OFF @ECHO >> VERIFY.TXT @echo BEGIN %computername%, %date%, %time% >> verify.txt START /WAIT f:\bat\atomic.exe @echo END-3 %computername%, %date%, %time% >> verify.txt
where verify text is a running text file and the program finds the employee who is screwing with the computer system clock
0
Response Number 3
Name: Judago Date: June 9, 2009 at 14:05:40 Pacific
Summary: As far as I know, when the batch window is out of focus, the window freezes until the window is in focus. So you could start play.exe and then exit after you execute play.exe and it's in focus. -- ...
Summary: I just finished writing a batch file, and it does everything i want...except for one thing. Twoards the end of the file it calls a program...and the exicution of the rest of the file is delayed until ...
Summary: Hi, I've made a batch script which has a list of commands to do. One of them is to close explorer.exe which it says access denied to... but it works anyway lol. Only problem is now it ignores my exi...