Forum Home
Press F1
 
Thread ID: 73246 2006-10-12 21:44:00 One shortcut for two programs lazydog (148) Press F1
Post ID Timestamp Content User
490999 2006-10-12 21:44:00 Is it possibile to have one shortcut for two programs?

Such as when i enable my network to connect to broadband could it also start skype as well. Then when i disconnect it also closes down skype.
I dont want skype running all the time, only when i'm online.
lazydog (148)
491000 2006-10-12 23:06:00 You can make a "command script" that can do multiple things. I'm not sure how to connect to broadband (shouldn't your broadband be connected all the time?) but you can run two applications by putting something similar to this into a text file:

"C:\Program Files\Skype\Skype.exe"
"C:\Program Files\Firefox\Firefox.exe"

Save the file with a .cmd extension, then Skype and Firefox should both start when you double-click the .cmd file. Please note that the filenames I've used are examples, I haven't checked to see what the actual executables for Skype and Firefox are.
Nermal (7077)
491001 2006-10-15 22:14:00 Ok. Thanks for that.
I'll have a play.

I turn my broadband connection off (diable/enable) using a shortcut on my taskbar.

Cheers Brian
lazydog (148)
491002 2008-09-05 03:35:00 In case this hasn't been settled and someone's still reading:

Right click on the shortcut for your broadband connection and click Properties.
Copy whatever is in the Target field to the clipboard.
Open notepad and enter the following:
@echo off
start "" <paste here>
start "" <path to other program here>It might look, for example, like
@echo off
start "" "C:\Program Files\Series of Tubes\broadband.exe"
start "" "C:\Program Files\Skype\Skype.exe"Save this wherever you want it as whatever.bat, then run it instead of your usual broadband program.
P1h3r1e3d13 (11284)
1