PDA

View Full Version : How to start 2 programs with 1 shortcut?


diurnal
11-12-2003, 05:32 PM
Does anyone know? I have search to no avail. Thanks

sleddog
11-12-2003, 06:00 PM
Put 'em in a batch file and make a shortcut to the batch file on your desktop. A sample batchfile below... open notepad and save as "something.bat", change the paths & filenames to your programs:


REM Lines starting with REM are just comments for explanation.

REM Here we start Notepad:
start c:\windows\notepad.exe

REM Enclose the path & filename in quotes if there are spaces in it:
start "c:\program files\somedir\someprog.exe"

REM Exit this batchfile:
exit


Make a shortcut on your desktop to the .bat file. Then right-click the shortcut, select Properties, and set it to run 'Minimized" to avoid the flash of the black DOS window on screen

pentachris
11-12-2003, 06:39 PM
I've never written a batch file. It doesn't look too hard! I'll have to try one when I get home. Thanks from a curious onlooker, sleddog!

diurnal
11-12-2003, 11:01 PM
Thanks sled!!:)
Guess its just like a macro.