Credit Cards | Insurance | Web Advertising | Loans | Insurance
Batch file creation for Windows machines [Archive] - ZGeek

PDA

View Full Version : Batch file creation for Windows machines


nerdboy
01-11-2004, 12:21 PM
Afternoon all,
I need to rollout an application to clients in an AD environment. I want to use a batch file in the startup script but I want the executed application to remain in the foreground until completion. Does anyone know the switch to make this happen?
Cheers.

chip256
01-11-2004, 12:43 PM
I don't know of a simple way to do it.

Perhaps one way would be to create a file which gets deleted by the program when it finishes and have the batch file loop if the file exists.

BSS
08-11-2004, 11:09 PM
start /wait <command>

C:\Documents and Settings\Administrator>start /?
Starts a separate window to run a specified program or command.

START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
[/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
[/WAIT] [/B] [command/program]
[parameters]
...
WAIT Start application and wait for it to terminate