Trying to write a very simple batch file...

  • Thread starter Thread starter Kross
  • Start date Start date
K

Kross

Which would launch three different applications and then
close. One of these applications is MSN Instant
Messenger, which will start with a simple "START MSNMSGR"
command. The other two, though -- C:\Program Files\Yahoo!
\Messenger\YPager.exe (Yahoo! Instant Messenger) and AOL
Instant Messenger (whose path I'm too lazy to trace at
the moment) -- aren't working. I'm using a "WIN" command
and then the path/filename. The first one works, but the
batch window sticks around until after the first one is
Exited; then it launches the second one. How do I make
them launch simultaneously? I'm getting seriously
frustrated here.

-Kross
 
Kross said:
Which would launch three different applications and then
close. One of these applications is MSN Instant
Messenger, which will start with a simple "START MSNMSGR"
command. The other two, though -- C:\Program Files\Yahoo!
\Messenger\YPager.exe (Yahoo! Instant Messenger) and AOL
Instant Messenger (whose path I'm too lazy to trace at
the moment) -- aren't working. I'm using a "WIN" command
and then the path/filename. The first one works, but the
batch window sticks around until after the first one is
Exited; then it launches the second one. How do I make
them launch simultaneously? I'm getting seriously
frustrated here.

Hi

Try this:

start MSNMSGR
start "C:\Program Files\Yahoo!\Messenger\YPager.exe"
start "some path to AOL IM"
exit
 
Which would launch three different applications and then
close. One of these applications is MSN Instant
Messenger, which will start with a simple "START MSNMSGR"
command. The other two, though -- C:\Program Files\Yahoo!
\Messenger\YPager.exe (Yahoo! Instant Messenger) and AOL
Instant Messenger (whose path I'm too lazy to trace at
the moment) -- aren't working. I'm using a "WIN" command
and then the path/filename. The first one works, but the
batch window sticks around until after the first one is
Exited; then it launches the second one. How do I make
them launch simultaneously? I'm getting seriously
frustrated here.

-Kross


try using a VB Script file to do it.

set launch = createobject("wscript.shell")
launch.run ""
launch.run ""
launch.run ""


Insert the paths to the files in the ""

Save the file with a .vbs extension.
 
Back
Top