Manage the Windows System PATH
Remove the directory from the SYSTEM path
index: where the directory should be placed in the PATH (default: 0)
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 October 23, 2019 at 19:58:16 UTC.