Below is a list of Directory macros. Note that paths do not contain a trailing backslash.
The full list of macros can be found here.
| Macro | Description |
|---|---|
| Macros for "All Users" data. | |
| @AppDataCommonDir | Path to Application Data |
| @DesktopCommonDir | Path to Desktop |
| @DocumentsCommonDir | Path to Documents |
| @FavoritesCommonDir | Path to Favorites |
| @ProgramsCommonDir | Path to Start Menu's Programs folder |
| @StartMenuCommonDir | Path to Start Menu folder |
| @StartupCommonDir | Path to Startup folder |
| Macros for Current User data. | |
| @AppDataDir | Path to current user's Roaming Application Data |
| @LocalAppDataDir | Path to current user's Local Application Data |
| @DesktopDir | Path to current user's Desktop |
| @MyDocumentsDir | Path to My Documents target |
| @FavoritesDir | Path to current user's Favorites |
| @ProgramsDir | Path to current user's Programs (folder on Start Menu) |
| @StartMenuDir | Path to current user's Start Menu |
| @StartupDir | current user's Startup folder |
| @UserProfileDir | Path to current user's Profile folder. |
| Other macros for the computer system: | |
| @HomeDrive | Drive letter of drive containing current user's home directory. |
| @HomePath | Directory part of current user's home directory. To get the full path, use in conjunction with @HomeDrive. |
| @HomeShare | Server and share name containing current user's home directory. |
| @LogonDNSDomain | Logon DNS Domain. |
| @LogonDomain | Logon Domain. |
| @LogonServer | Logon server. |
| @ProgramFilesDir | Path to Program Files folder |
| @CommonFilesDir | Path to Common Files folder |
| @WindowsDir | Path to Windows folder |
| @SystemDir | Path to the Windows' System (or System32) folder. |
| @TempDir | Path to the temporary files folder. |
| @ComSpec | Value of %COMSPEC%, the SPECified secondary COMmand interpreter; primary for command line uses, e.g. Run(@ComSpec & " /k help | more") |