Windows batch-file that continues after launching each program

batchcommand linewindows

I'm trying to create a very simple Windows-XP batch file:

Program1.exe
Sleep 3
Program2.exe
Sleep 5
Program3.exe
Sleep 11

Of course, I don't want to have to exit each program, before the next one starts. The default for batch files seems to be "stop until the previous program exists".

The three executables listed above are program like Notepad: They open and run and don't just "open, run, close".

How do I get this script to run as expected?

Best Answer

Another suggestion: If you are putting your program in quotes because there are spaces in the path to the exe, you need to do this:

start "" "C:\myPath\myApp.exe"

Found it here: Run Windows application from Command Prompt

Related Question