Ted Penner
asked on
Determine when process is completed
I have a batch file with syntax such this and I need to verify that all processes are complete. How can I adjust the syntax or otherwise verify success?
\\Location\Ccmsetup.exe SMSSITECODE=wtx SMSCACHESIZE=5120 SMSCONFIGSOURCE=U PATCH=\\Filepath.msp;Filepath.msp;\\Filepath.msp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Does the batch script can be executed as part of the startup script ?
Are you saying when this is run, it does not continue on the next line until Ccmsetup.exe complete?
Or, does it continue to the next line and each .msp is running on its own process?
If the first, many .exe programs return an error code. You can check as follows:
Open in new window