954,307 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

executable to run multiple executables

Im super noob at this stuff but id just like to know whats the simplest way to create a program or file which when i execute will run 2 different programs.
Say i want to run winamp and firefox, i just want a program that when i execute will run these 2 at once. See im too lazy to double click on file then the other :p its much cooler this way too.
Cheers

phyx1u5
Newbie Poster
3 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

Maybe you could create a .bat file which spawns the two programs one after the other?

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

ive tried it but i dont think im doing it right. And i think it only allows one executable open at a time.
If someone could help refine the coding it would be much appreciated

Heres the code...so far:

@echo off
cd "c:\Program Files\WC3Banlist\"
WC3Banlist.EXE
cd "c:\Program Files\Warcraft III\"
PIGON_LOADER.EXE
exit

Cheers

phyx1u5
Newbie Poster
3 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

The "start" keyword is the answer to your problem. That should spawn two processes at the same time.

http://forums.anandtech.com/messageview.aspx?catid=34&threadid=2094454&enterthread=y

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

Ah sweet got it working :D thanks very much!

phyx1u5
Newbie Poster
3 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You