user2840470
user2840470

Reputation: 969

Use Batch File to Run Multiple console applications

I am new to using batch files so forgive me if I say something incorrect

I am trying to run multiple console applications (same name) at the same time (in different directories) using a batch file. Right now it runs one console application, then runs the other (after the first is finished). Is it possible to run multiple at the same time?

This is the syntax I have been using, with different directories

cd "C:\Users\Owner\Desktop\Folder 1\
Application.exe
cd "C:\Users\Owner\Desktop\Folder 2\
Application.exe
cd "C:\Users\Owner\Desktop\Folder 3\
Application.exe
etc...

Also, another question: If i wanted to pause X seconds between every 2 applications what would I add?

Thanks

Upvotes: 1

Views: 391

Answers (1)

Michael Harvey
Michael Harvey

Reputation: 85

Try using the 'Start' keyword to run multiple .exe "at the same time". Try using the 'Wait' keyword giving the alotted amount of seconds between runtimes.

Upvotes: 2

Related Questions