Parallel Execution of tasks

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Ajeena
Posts: 1
Joined: 24 Dec 2012 04:56

Parallel Execution of tasks

#1 Post by Ajeena » 24 Dec 2012 05:01

Hi ,

I have five tasks i want to do in parallel in batch script.

So which command i can use for parallel excution.

regards
Ajeena

abc0502
Posts: 1007
Joined: 26 Oct 2011 22:38
Location: Egypt

Re: Parallel Execution of tasks

#2 Post by abc0502 » 24 Dec 2012 07:37

It depend on the task it self, but to start five programs fro example, the code should look like this:

Code: Select all

@Echo OFF
start "title" "c:\path\of\the\application.exe"

title, is the title of the cmd window.
c:\path\of\the\application.exe, the the location to the exe app.
Repeat that line depening on how many application you are going to run

Post Reply