Manage the Windows System PATH
Remove the directory from the SYSTEM path
Example:
'C:\sysinternals':
win_path.absent
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.
Note
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.
Examples:
'C:\python27':
win_path.exists
'C:\sysinternals':
win_path.exists:
- index: 0
'C:\mystuff':
win_path.exists:
- index: -1
Generated on October 23, 2024 at 09:02:05 UTC.
You are viewing docs for the previous stable release, 3006.9. Switch to docs for the latest stable release, 3007.1, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy