run multiple programs

A

AmarSingh

Guest
Can i write some sort of script to run two programs when i click on a shortcut? If so, how?
 
S

SirLasher

Guest
not real sure but I would think it would depend on what the two programs were.
what are you trying to achieve?
 
A

AmarSingh

Guest
im pretty sure that this was possible in 98 (i vagely remember seeing something on tech tv about it)

i need to connect to the newscgroup server for my university, and the only way to do that is through port forwarding. Bottom line is i need to connect to my university's server with a program called secureCRT and then run my news client. It would be cool if i could just click one link and have them both open.
 

Dublex

A Knight to Remember
Joined
16 Jan 2002
Messages
634
The easiest way to open both programs is to create a batch file that runs both programs when you double click on it. To do that you can do the following:

1. in the run box, type edit prog.bat - or create a desktop shortcut, rename it as a .bat file with a name you want and then right click on the file and select the edit option.

2. once you are editing type something like

c:\[location]\[securecrt filename].exe
c:\[location]\[newsclient filename].exe

3. of course the [location] and [filename] is set to wherever the program is located on your H/D or even on the server if it has been mapped to your computer

of course, if you want to pause between running programs to create a point where you can press return to run the second program you can use

c:\[location]\[securecrt filename].exe
pause
c:\[location]\[newsclient filename].exe

once you have done that, save and exit editing. Now if you double click on the batch file it will run both programs for you. If you want to run it automatically then close the command prompt edit the batch properties so that it automatically closes on finishing the run.
 
A

AmarSingh

Guest
just what i was looking for...thanks a lot, but it only seems to open the second program after i close the first one. I found it here also, but it says it doesnt work in xp. Maybe i am doing something wrong?

here is what is in my batch file:

"C:\Program Files\SecureCRT 3.0\SecureCRT.EXE"
"C:\program files\outlook express\msimn.exe"
exit
@echo off
cls

the last bit is to make the command window close

also, is there a switch for making the windows open maximized?
 

Members online

No members online now.

Latest profile posts

Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,997
Messages
673,411
Members
5,589
Latest member
glen