PathUtilsExpandSpecialFolders Method |
Namespace: PDTec.IceNet.Sdk.Utils
public static string ExpandSpecialFolders( string path )
The following special folder names are expanded:
Special Folder Expression | Expansion Example (System: Windows 7) |
---|---|
|Desktop| | C:\Users\{USERNAME}\Desktop |
|DesktopDirectory| | C:\Users\{USERNAME}\Desktop |
|ApplicationData| | C:\Users\{USERNAME}\AppData\Roaming |
|LocalApplicationData| | C:\Users\{USERNAME}\AppData\Local |
|CommonApplicationData| | C:\ProgramData |
|System| | C:\Windows\system32 |
|ProgramFiles| | C:\Program Files |
|CommonProgramFiles| | C:\Program Files\Common Files |
|Temp| | C:\Users\{USERNAME}\AppData\Local\Temp |