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.

How can I start multiple programs using one line of command? This is what I have so far:

cmd /C "C:\Program Files\PeerBlock\peerblock.exe" && "C:\Program Files\uTorrent\uTorrent.exe"

I do not want uTorrent to start if PeerBlock is not started.

(I need this for Launchy's runner plugin.)

share|improve this question

1 Answer 1

Make a batch file - call it Launchy.bat or something and add all your commands there.

share|improve this answer
1  
In this case, add start before the commands if they are not console commands, otherwise, the batchfile will wait for each process to exit before continuing. –  surfasb Jan 17 '12 at 23:45
    
+1 for avoiding the dark abyss of "correct quoting" on Windows –  Alois Mahdal Jan 18 '12 at 11:18

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.