Solved

Why duplication in my path?

Posted on 1998-11-13
2
155 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
An article on effective troubleshooting
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
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…

737 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