Solved

win7 batch file

Posted on 2012-04-01
4
217 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
Comment Utility
Start /wait yourapp.exe
http://www.iopus.com/guides/batch.htm
0
 

Author Comment

by:Login101
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Many times while working on a computer regardless of any Operating System, lag and crashes seem to creep in, hindering your working speed. Sometimes, it can also cause your work to be lost unexpectedly and as a result, you are unable to meet your de…
The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
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…
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…

763 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

13 Experts available now in Live!

Get 1:1 Help Now