is it possible to.

Ah, yes. The legendary "batch file"...

(not strictly just a shortcut, but you want to make a .BAT that opens your two programs, then make a shortcut to the BAT)
 
Last edited:
hmm the programs are installed on my pen drive, is it possible to configure the batch file to work on any computer, because the pen drive has a different drive letter on each computer.
 
Good old google.

In notepad write the following:

START C:\Program Files\Hotmail Popper\hotpop.exe
START C:\Program Files\Mozilla Thunderbird\thunderbird.exe

Save as whateverthehellyouwant.bat
 
jamoor said:
hmm the programs are installed on my pen drive, is it possible to configure the batch file to work on any computer, because the pen drive has a different drive letter on each computer.

You may need "dot dot" notation.
For example, if your batch file is in the same directory as the executables you want it to run, you only need to write:

file1name.exe
file2name.exe


in notepad, and save as batchfilename.bat.
Running this will open both your apps.

But if the files are in different folders, you'll need to use dots!

If the exe's are in a lower directory, you simply add the directory name before the exe. For example, batch file on X drive, exe in "x:\test\poop\file.exe". You write:

test\poop\file.exe

If however these positions are reversed, you would need to use two dots for going up each folder level. So, to run x:\file.exe from a batch file in "x:\test\poop\", you write:

..\..\file.exe

The first two dots take you into x:\test\, the second take you to x:\

This eliminates the need for drive letters in your batch file, so the USB drive can have any letter it likes.

Your best bet is to make the batch file in the root directory "x:\" and name it something simple like "RunMe.bat".

Good luck! :)
 
sorry to hijack, but does anyone know how to make a bat that will open firefox up with multiple tabs with diff URL's in.. and make that startup with windows so all my fav sites are ready to be cheked in the morning :)
 
sam83uk said:
sorry to hijack, but does anyone know how to make a bat that will open firefox up with multiple tabs with diff URL's in.. and make that startup with windows so all my fav sites are ready to be cheked in the morning :)

You can set multiple homepages in firefox, just seperate them addresses with a comma or maybe a colon, not sure, they will automatically open in different tabs.

Add Firefox to the Startup folder in your programs menu or the 'run' key.
 
Back
Top Bottom