I should have mentioned what I'm currently doing. I call the initial program via the Start command. That gets it going while the batch logic continues. The problem is that the machine will shut down even if the first program isn't finished.
Hi,
I'm running 64b Win7. I have a batch file (.bat) that I use to shut the machine down each night, that optionally backs up data and then which calls CCleaner. After CCleaner finishes the system shuts down.
Everything works fine. But here's what I want to do. I want to start another program when the script opens, have it run in parallel to the backup and cleaning operation, and have its completion mutually critical, with the backup/cleaning operations, to the machine shutting down.
IOW, I want to parallel process, but I want the final shut down to be dependent on both processes completing. I don't want the system to shut down until both are finished.
It's a logical problem that I haven't been able to find a batch tool to solve yet.
Thanks,
p.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic