Manage the Windows System PATH
Remove the directory from the SYSTEM path
Add the directory to the system PATH at index location
Position where the directory should be placed in the PATH. This is 0-indexed, so 0 means to prepend at the very start of the PATH.
If the index is not specified, and the directory needs to be added to the PATH, then the directory will be appended to the PATH, and this state will not enforce its location within the PATH.
'C:\python27': win_path.exists 'C:\sysinternals': win_path.exists: - index: 0 'C:\mystuff': win_path.exists: - index: -1
Generated on April 18, 2023 at 04:07:35 UTC.
You are viewing docs for the previous stable release, 3004.2. Switch to docs for the latest stable release, 3005.1, or to a recent doc build from the master branch.