Solved

win7 batch file

Posted on 2012-04-01
4
221 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 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
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…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

820 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