So I have a command I want to run which looks like the following:
for /r %n in ("*.vdproj") do "C:/Program Files/Microsoft
Visual Studio 10.0/Common7/IDE/devenv.exe" %n /build "BuildServer"
It seems to work in that it runs devenv on each .vdproj file; however, it seems to run them in parallel and immediately return. This is a problem; I need to wait until they are all finished before the next step in the .bat file runs. How can I either
1- Get for to 'wait' on each devenv to finish before running the next one
or
2- Wait until devenv.exe is all done before moving on afterwards?