pathed
|
pathed is a command-line path editor for Windows, will help you change and query the path in the registry.
usage: pathed [-a dir | -r dir | -e | -l | -q dir | -v | -p | -g file] [-s] [-f] [-x]
pathed -a dir adds dir to the path in the registry
pathed -r dir removes dir from the path in the registry
pathed -l lists the entries on the current path in the registry
pathed -e lists the entries on the current path in the PATH environment variable
pathed -q dir queries registry, returns 0 if dir is on path, 1 otherwise
pathed -g file searches (greps) the path for all occurrences of file
pathed -v verifies that all directories on the path exist
pathed -p prunes the path by removing duplicates and non-existent directories
By default, pathed works on the path in HKEY_CURRENT_USER. You can make it use the system path in HKEY_LOCAL_MACHINE by using the -s flag.
Normally pathed will check a directory exists on disk before adding it to the path. To prevent this, use the -f flag.
Paths containing environment variables such as %systemroot% will not normally have the variables expanded to their values. To expand them, use the -x flag
The license of this software is Free, you can free download and free use this system utility software.