• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

win7 batch file

I have a .bat file that calls this:

@echo off
cscript.exe "Packages.vbs"
cscript.exe "Legal.vbs"
start Slideshow.exe
exit

I want to wait for the Packages.vbs to finish, Legal.vbs to finish, and then start the slideshow. how do i do that?
0
Login101
Asked:
Login101
1 Solution
 
Aaron TomoskyTechnology ConsultantCommented:
Start /wait yourapp.exe
http://www.iopus.com/guides/batch.htm
0
 
Login101Author Commented:
so this is what i need? I want it to wait for each script/batch/exe to finish...

@echo off
cscript.exe //B "vbs1.vbs"
cscript.exe //B "bvs2.vbs"
start /wait exe1.exe
start /wait exe2.exe
exit
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now