Solved

Why duplication in my path?

Posted on 1998-11-13
2
152 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
ID: 1647495
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
ID: 1647496
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SBS 2011 Backup Drive 8 71
extended monitor print screen 8 50
Access bios on restart 11 62
Windows mapped drive communications - Secure? 5 42
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
An article on effective troubleshooting
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

791 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