0 Reviews
FREE
License
PAID
Version
EditPath 2.0
LatestUpdate
Last updated
OS
Language
EN
The EditPath application was designed to be a console program that allows you to manipulate the current user and system path environment variables in the registry.
The command-line syntax is as follows:
EditPath [-u] {[-q] {-a [-b] | -r | -c} directory | -l [-x]}
-u specifies the current user path. If you don't use -u, EditPath uses the system path.
-q (only with -a, -r, or -c) tells EditPath to run quietly.
-a or -r adds or removes a directory name from the path.
-b (used with -a) adds the directory to the beginning of the path (rather than the end). Generally, a new directory should be appended to the end of the existing path, but there may be circumstances where adding to the beginning of the path is warranted. Use -b with caution.
-c checks if a directory exists in the path. If the directory is present in the path, EditPath will return an exit code of 0. If it is not present, it will return a non-zero exit code.
-l lists each directory, one per line. -x performs environment variable expansion on the directory names.
The -a, -r, -c, and -l options are mutually exclusive. -q can only be used with -a, -r, or -c, and -x can only be used with -l. -b can only be used with -a. -u can be used with any options. Options can appear in any order on the command line.
If the directory's name contains spaces, enclose it in quotes. When specifying a directory on the command line or in a shell script (aka a batch file), make sure to double the percent signs (%) if you are adding a directory that contains an environment variable name (unless you want the shell to expand it for you before passing it to EditPath.exe).
If EditPath successfully updates the registry with -a or -r, it broadcasts a message to the system that the Path has been updated. This will not affect the command window from which EditPath is run.
No reviews found
SoftPas is a platform that provides you with the latest software and technology news, reviews, and guides. We also provide you with the latest software and technology trends.
Subscribe to newsletter
© Copyright 2024, All Rights Reserved by SoftPas