Pathman.exe: Path Manager


This command-line tool adds or removes components from system or user paths. PathMan can modify any number of paths in a single call, and it includes error checking that can handle path abnormalities such as repeated entries, missing entries, and adjacent semicolons.

Windows 2000 manages two types of paths: the current user path and the system path. Windows 2000 keeps a separate user path for every user on a system, but there is only one global system path. When a user logs on to a computer running Windows 2000, the user and system paths are combined to create the user's full path. For backward compatibility, Windows 2000 also loads path information from old autoexec.bat files in the root directory.

Users who are not administrators can modify their own user path. To modify the system path, the user must have administrator privileges. PathMan does not manage information contained in old autoexec.bat files.

Files Required

PathMan Topics


top

PathMan Syntax


pathman [/as|/au|/rs|/ru path[;path[path ...]]]

Where:

/as
adds the paths separated by semicolons to the system path.
/au
adds the paths separated by semicolons to the user path.
/rs
removes the paths separated by semicolons from the system path.
/ru
removes the paths separated by semicolons from the user path.