Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I create a batch file (batch.bat) and typed this in:

"C:\Program Files\WinRAR\WinRAR.exe"
"C:\Windows\System32\notepad.exe"

The applications in question would run in order, first WinRAR would load and once closed, Notepad would load next in order.

Q: How do I syntax the batch file to run all application at the same time, I want both WinRAR and Notepad to open at the same time.

share|improve this question
up vote 10 down vote accepted

Use start instead:

start "" "command here"

Edit: Do not miss the first pair of empty quotes, this is the title of the process/window.

start <title> <command> <parameters>

See start /? for further details.

share|improve this answer
1  
Thanks dude.... – ToastMan Feb 2 '10 at 20:03
4  
To be a pedantic snerk, I have to point out that this wont work in DOS :-) It will work in cmd.exe, though. – SuperMagic Feb 2 '10 at 20:17
1  
Of course. DOS doesn't even have multitasking. – grawity Feb 2 '10 at 20:28

create shortcuts to the exectutables and copy them into a folder (i chose Z:\Temp), then use this:

"z:\temp\NOTEPAD.EXE.lnk"
"z:\temp\WinRAR.exe.lnk"

Or use Batch Runner, a simple program that enables you to run lots of other programs, in one big batch.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .