Discussion Locked

windows path

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

My autoexec.bat file has a path statement with onle one path in it. When I go to a DOS window and type PATH it come up with a long path inclucing som duplicates.
Where is this path info comming from????

4 replies

by dklippert

PATH /?
Displays or sets a search path for executable files.

PATH [[drive:]path[;...]]
PATH ;

Type PATH ; to clear all search-path settings and direct MS-DOS to search only in the current directory.
Type PATH without parameters to display the current path.

by jschein

It comes from the operating system's INI file.

Without those paths, the programs that you have installed over time would not work.

You can look in your windows folder for your .INI files, check them all out. Find the one with all the paths inside of it and remove duplicates.

Now, be careful as some of the paths might be c:\program files\whatever and some might be c:\progra~1\whatever... one is windows version, one is dos 8 character version...

Good luck

by rcom

As mentioned the paths are coming from installed software. The main path for windows is
C:\windows\command. There's others that may need the path in order fro the software to work correctly. This shouldn't be a problem. But if you look in MSCONFIG the path statements will be listed there.

by chris910

If You login using a netware client any mapped search drives will be appended to the path statement.

This discussion is closed to new replies.