Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running Batch Files In XP

Status
Not open for further replies.

Bugzs

Technical User
Jul 25, 2002
16
0
0
US
Hi Guys,

I run Windows 98SE, but a good bud of mine is about
to get into computing with a laptop with XP Home on
it and I want to create some DOS batch files so he
can load his ZoneAlarm, Internet Explorer, etc with
one click of one Icon.

I've heard that XP gets REAL hinky with batch files.
My usual "One Clickers" are like below:

start "C:\Program Files\ZoneAlarm\zlclient.exe"
start "C:\Program Files\Cookie Pal\CPal.exe"
start "C:\Program Files\Internet Explorer\Iexplore.exe"

Is there a proggy out there that can make a batch
file that his XP will execute with no problems, like
my 98SE does with DOS?

Thanks in advance for your help.

Bugs
 
I use batch files on Windows XP Pro all the time. You should not have any problems. I run ProComm Plus to connect to a BBS or other Web based sites.

Are you looking for help in programming a batch script?
 
Bugzs,

For any native windows application a shortcut is all that is required i.e. iexplore.exe.

For non win apps batch files work as normal

rvnguy
"I know everything..I just can't remember it all
 
January 13, 2006

OK Guys, here's the skinny:

I ended up at
and under "Launch Multiple Programs" found this along

with a picture:

"This batch file lets you launch several programs at once.

In Windows 98 or Me, each line of the batch file should
contain the command to launch a particular program or file,
as in c:\quickenw\qw.exe or "c:\my documents\finances.xls"

In Windows XP or 2000 (shown here), your batch file must
point to file shortcuts rather than to the files themselves.
It's best to collect the shortcuts you need in one folder."

Soooooo, the bottom line is that the batch file HAS to

trigger the shortcuts and not the actual program's exe's.

Goofy, but then again, we ARE talking Windows here!

Ben
 
Update----------Update----------Update----------Update

February 1, 2006

Guys/Gals,

I just found THEE answer and it works beautifully on both

my WinXP SP2 Pro and my pal's WinXP SP2 Home installs.

From:


Name: IVO
Date: January 16, 2005

Start "" "PathName/ProgName"

Insert a /Min after "" if you want the programs run minimized

as icons on the taskbar. Do not forget the "" otherwise nothing

works (you can type a title for the window instead, e.g. "Prog ALFA").

Type Start /? at prompt for a full on-line help.


So, my Windows 98SE's:

start "D:\Program Files\Cookie Pal\CPal.exe"
start "D:\Program Files\BuzzOff\Buzzoff.exe"
start "D:\Program Files\ZoneAlarm\zlclient.exe"
start "D:\Program Files\Internet Explorer\Iexplore.exe"

work like this on a Windows XP SP2 box:

start "" "D:\Program Files\Cookie Pal\CPal.exe"
start "" "D:\Program Files\BuzzOff\Buzzoff.exe"
start "" "D:\Program Files\ZoneAlarm\zlclient.exe"
start "" "D:\Program Files\Internet Explorer\Iexplore.exe"





Bugs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top