Solved

win7 batch file

Posted on 2012-04-01
4
220 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
4 Comments
 
LVL 38

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Hallo! I guess almost every Windows Administrator must have got stumped with this question "Where does WINDOWS store a users cached credentials? Every user who had once logged onto a Server/Desktop while it was connected to the domain could sti…
Log files are useful in diagnosing and repairing problems.  This is a list of common log files and their standard locations that I've compiled.   While this is not exhaustive, it is a pretty good list that I've found to be useful.  I may update it f…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

815 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now