0

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.)

3

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

2
  • 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 Jan 18 '12 at 11:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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