Get System Folder Path
Command description
Get a system folder path on the current computer and save it as a variable.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| System Folder Name | enum | Desktop, Favorites, Downloads, Start Menu, Pictures, Documents, Music, Videos, User Home, Temporary Folder, App Data, Local App Data |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|---|---|
| System Folder Path | str | Obtained system folder path |
Edge Cases
- The command reports an error if System Folder Name is not a supported enum value.
- This command only returns the system directory path and does not create, delete or verify the directory contents; some directories will read the Windows registry first, and use the default path if it cannot be read.
Generation Notes
- Return a system-folder path without creating or modifying files.