Link to home
Start Free TrialLog in
Avatar of MinnEE
MinnEE

asked on

Why duplication in my path?

My autoexec.bat Windows 98 file has for the path:
path C:\WINDOWS;C:\WINDOWS\COMMAND

But when I read the path I get:

PATH=C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS;C:\WINDOWS\COMMAND;

What is causing all this duplication? Is it needed?

I want to add to the path when I go to a DOS window, but I wonder if the path will get too long.

Can I just restate a new path with
C:\WINDOWS;C:\WINDOWS\COMMAND plus what I want to add, instead of using the path append method (using %path%)?
ASKER CERTIFIED SOLUTION
Avatar of MasseyM
MasseyM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MinnEE
MinnEE

ASKER

Thanks for the quick response. I am still wondering what caused the path to come out with the duplication. There maybe something in the start up files that are appending.  This is a new HP computer with a lot if software that came with it. I guess I don't have to worry about it.