Solved

Why duplication in my path?

Posted on 1998-11-13
2
149 Views
Last Modified: 2013-12-28
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
Comment
Question by:MinnEE
2 Comments
 
LVL 10

Accepted Solution

by:
MasseyM earned 50 total points
Comment Utility
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
 
LVL 1

Author Comment

by:MinnEE
Comment Utility
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

Wish Marketing would stop bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now