|
|
Question : two targets for shortcut
|
|
Windows 95 I need two applications to launch when I double click one shortcut. How can I do this?
|
Answer : two targets for shortcut
|
|
Using notepad, type the following:
start c:\windows\notepad.exe start c:\windows\calc.exe
I have just chosen these apps as examples, you may need to change the c: part depending on your setup, or even try it straight away with your two apps.
Save the file with a .bat extension, so I'll assume you call it "startapps.bat" and that I have saved it to my desktop.
Run the batch file and it should work.
Now, you're next question is how to close the MS-DOS prompt automatically.
Well, go into the properties for the file, i.e right mouse click & choose properties.
Under the "Program" tab, put a tick next to "Close on Exit" and also choose run "minimized" if you wish and then click OK.
You should now find an MS-DOS shortcut to the batch file (which means you can change the icon and text etc), which is what you will need to run in order to get the "close on exit" and "run minimized" to work.
Hey presto!
Hope this helps.
Ant Marsh
|
|
|
|
|