Hello, I have a batch file that calls other batch files via the 'start' command, and I need the "head" batch file to know when the "sub" batch files it has called are complete. I'm not very familiar with batch files and was wondering if there are any global or environmental variables that could be changed by the 'sub' batch files when they are done, and then the 'head' batch file could continuously check to see what these variables are, only continuing when it sees that they are changed, and thus, the 'sub' batch files are complete.
Any other way to do this without using variables would be great too.
thanks

You can't check environment variables set by the started batch since they are local to the new generated environment. You can create a flag file in the root directory and then check for its presence, e.g.
start Batcht1.batthat issues type nul > C:Batch1.tmp and when exits del C:\Batch1.tmp
Howevever if you want to execute the batch in sequence use call Batch1 or start /W Batch1.bat
