• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

cmd.exe commands, .bat files

BradN

Junior Member
I am trying to make a shortcut to run 2 programs with 1 shortcut (Eudora and Hotmail Popper).

First thought was to make a batch file, but I don't know the commands to run it, and XP's cmd.exe begins in documents and settings\user, and that sort of throws me off too.

Help a newb out here people. 😉

BTW, the locations of the 2 programs are

C:\Program Files\Qualcomm\Eudora\eudora.exe
C:\Program Files\Hotmail Popper\hotpop.exe
 
1. Open notepad
2. Paste the following:
C:\Program Files\Qualcomm\Eudora\eudora.exe
C:\Program Files\Hotmail Popper\hotpop.exe
3. Save it as "MyLauncherThing.bat"
4. Create a shortcut to the .bat
5. Double-click the shortcut 🙂.
 
Originally posted by: CTho9305
1. Open notepad
2. Paste the following:
C:\Program Files\Qualcomm\Eudora\eudora.exe
C:\Program Files\Hotmail Popper\hotpop.exe
3. Save it as "MyLauncherThing.bat"
4. Create a shortcut to the .bat
5. Double-click the shortcut 🙂.

Won't that wait for the first app to finish executing and terminate before launching the second app? 😉
 
Nothing happens with that. The command window pops up for a second, and disappears, and that's all. Nothing runs.
 
Open notepad

paste the following in:
//------------------------------
var ObjWS = WScript.CreateObject("WScript.Shell");
ObjWS.Run("C:\Progra~1\Qualcomm\Eudora\eudora.exe");
ObjWS.Run("C:\Progra~1\Hotmai~1\hotpop.exe");
//------------------------------

save as "RunApps.js" (or whatever you want, as long as it keeps the .js extension.

Double click the file to run it.

 
don't you need hotpop to run first ...??????

i do that with thunderbird for hotmail and hotpop

here it is



START "hotpop" /d"f:\Program Files\Hotmail Popper" hotpop.exe
START "T-BIRD" /d"F:\Program Files\thunderbird" thunderbird.exe


so just replace it with your stuff

START "hotpop" /d"C:\Program Files\Hotmail Popper" hotpop.exe
START "eudora" /d"C:\Program Files\Qualcomm\Eudora" eudora.exe
 
Is there any chance that the "Program Files" should have been "Progra~1"? Maybe that's why the .bat file didn't work.
 
Originally posted by: Maetryx
Is there any chance that the "Program Files" should have been "Progra~1"? Maybe that's why the .bat file didn't work.

the run command box in XP is different.
 
Originally posted by: Maetryx
Is there any chance that the "Program Files" should have been "Progra~1"? Maybe that's why the .bat file didn't work.

That may have been it, except it would not have launched both apps. It would have waited till the first app terminated to launch the second app if not called with the START command first.
 
The solution using "start" is what you wanted, assuming that my solution did not launch both approximately simultaneously.
 
Back
Top