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

I was just wondering how to write a Windows 7 batch script which can start up a list of applications.

Should look something like this I guess, structurally:

Run C://program/software/software1
Run C://program/software/software2
Run C://program/software/software3
share|improve this question

By default, windows batch starts programmes sequentially - you will want to use the start command before each command you want to run - for example

start C://program/software/software1
start C://program/software/software2
start C://program/software/software3

Which will spawn a new command prompt for each and run it.

share|improve this answer
    
That doesn't work at all. Just opens new command prompts without starting the softwares. – Raz Oct 31 '12 at 10:57
    
thats odd. I can't tell based off the example paths, but the paths look a little off to me on second thoughts. just to check could you try running start path/to/software1 alone on cmd, using the tab completion to ensure the paths are right? then go on with the second one and so on? – Journeyman Geek Oct 31 '12 at 13:33

Use:

start "" "Drive:\Path\to\program1\program1.exe"
start "" "Drive:\Path\to\program2\program2.exe"
start "" "Drive:\Path\to\program3\program3.exe"
...
share|improve this answer

You must log in to answer this question.

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