Solved

win7 batch file

Posted on 2012-04-01
4
223 Views
Last Modified: 2014-03-29
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
Comment
Question by:Login101
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 39

Accepted Solution

by:
Aaron Tomosky earned 500 total points
ID: 37794371
Start /wait yourapp.exe
http://www.iopus.com/guides/batch.htm
0
 

Author Comment

by:Login101
ID: 37794579
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Nathan Brom/Bromy2004 Introduction There are numerous websites out there for any different type of program you can imagine.  Of those, you'll need to decide which ones are legitimate and aren't trying to steal your money or infect your comput…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question