Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.