Get Full Path of a Windows Known Folder
This action retrieves the full path of a known folder identified by the folder’s KNOWNFOLDERID and stores it into a variable. See MSDN article about Known Folders
Properties
Section titled “Properties”| Property | Data Type | Description |
|---|---|---|
| KnownFolderID | String | Indicates the KNOWNFOLDERID constant that identifies the Known Folder. See below. |
| ReturnVariable | VarName | The variable that will store the full path. For example %MYRESULT%. |
KNOWNFOLDERID constants
Section titled “KNOWNFOLDERID constants”See the corresponding MSDN article for all KNOWNFOLDERID constants
Some examples:
FOLDERID_LocalAppDataLowreturns %USERPROFILE%\AppData\LocalLow.FOLDERID_InternetCachereturns %LOCALAPPDATA%\Microsoft\Windows\Temporary Internet Files.
All paths are returned without a trailing backslash. For example, “C:\Users” is returned rather than “C:\Users\”.
Action Catalog Browse all available custom actions.