[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

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%)?
0
MinnEE
Asked:
MinnEE
1 Solution
 
MasseyMCommented:
Yes, When you can use PATH=c:\windows;c:\windows\command;ourpath; just fine.  It will work just as well, if not better, as the append method.
0
 
MinnEEAuthor Commented:
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.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now