KNOWNFOLDERID

The KNOWNFOLDERID constants represent GUIDs that identify standard folders registered with the system as Known Folders. These folders are installed with Windows Vista and later operating systems, and a computer will have only folders appropriate to it installed. For descriptions of these folders, see CSIDL.

Example

HRESULT CExplorerBrowserHostDialog::_FillViewWithKnownFolders(IResultsFolder *prf)
{
    IKnownFolderManager *pManager;
    HRESULT hr = CoCreateInstance(CLSID_KnownFolderManager, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pManager));
    if (SUCCEEDED(hr))
    {
        UINT cCount;
        KNOWNFOLDERID *pkfid;

        hr = pManager->GetFolderIds(&pkfid, &cCount);
        if (SUCCEEDED(hr))
        {
            for (UINT i = 0; i < cCount; i++)
            {
                IKnownFolder *pKnownFolder;
                hr = pManager->GetFolder(pkfid[i], &pKnownFolder);
                if (SUCCEEDED(hr))
                {
                    IShellItem *psi;
                    hr = pKnownFolder->GetShellItem(0, IID_PPV_ARGS(&psi));
                    if (SUCCEEDED(hr))
                    {
                        hr = prf->AddItem(psi);
                        psi->Release();
                    }
                    pKnownFolder->Release();
                }
            }
            CoTaskMemFree(pkfid);
        }
        pManager->Release();
    }
    return hr;
}

Example from Windows classic samples on GitHub.

Constants

Constant Description
FOLDERID_AccountPictures
GUID {008ca0b1-55b4-4c56-b8a8-4de4b299d3be}
Display Name Account Pictures
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\AccountPictures
CSIDL Equivalent None, value introduced in Windows 8
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_AddNewPrograms
GUID {de61d971-5ebc-4f02-a3a9-6c82895e5c04}
Display Name Get Programs
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None
Legacy Display Name Add New Programs (found in the Add or Remove Programs item in the Control Panel)
Legacy Default Path Not applicable—virtual folder

 

FOLDERID_AdminTools
GUID {724EF170-A42D-4FEF-9F26-B60E846FBA4F}
Display Name Administrative Tools
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Start Menu\Programs\Administrative Tools
CSIDL Equivalent CSIDL_ADMINTOOLS
Legacy Display Name Administrative Tools
Legacy Default Path %USERPROFILE%\Start Menu\Programs\Administrative Tools

 

FOLDERID_AppDataDesktop
GUID {B2C5E279-7ADD-439F-B28C-C41FE1BBF672}
Display Name AppDataDesktop
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Desktop
CSIDL Equivalent None, value introduced in Windows 10, version 1709
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

This FOLDERID is used internally by .NET applications to enable cross-platform app functionality. It is not intended to be used directly from an application.

FOLDERID_AppDataDocuments
GUID {7BE16610-1F7F-44AC-BFF0-83E15F2FFCA1}
Display Name AppDataDocuments
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Documents
CSIDL Equivalent None, value introduced in Windows 10, version 1709
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

This FOLDERID is used internally by .NET applications to enable cross-platform app functionality. It is not intended to be used directly from an application.

FOLDERID_AppDataFavorites
GUID {7CFBEFBC-DE1F-45AA-B843-A542AC536CC9}
Display Name AppDataFavorites
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Favorites
CSIDL Equivalent None, value introduced in Windows 10, version 1709
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

This FOLDERID is used internally by .NET applications to enable cross-platform app functionality. It is not intended to be used directly from an application.

FOLDERID_AppDataProgramData
GUID {559D40A3-A036-40FA-AF61-84CB430A4D34}
Display Name AppDataProgramData
Folder Type PERUSER
Default Path %LOCALAPPDATA%\ProgramData
CSIDL Equivalent None, value introduced in Windows 10, version 1709
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

This FOLDERID is used internally by .NET applications to enable cross-platform app functionality. It is not intended to be used directly from an application.

FOLDERID_ApplicationShortcuts
GUID {A3918781-E5F2-4890-B3D9-A7E54332328C}
Display Name Application Shortcuts
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Microsoft\Windows\Application Shortcuts
CSIDL Equivalent None, value introduced in Windows 8
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_AppsFolder
GUID {1e87508d-89c2-42f0-8a7e-645a0f50ca58}
Display Name Applications
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None, value introduced in Windows 8
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_AppUpdates
GUID {a305ce99-f527-492b-8b1a-7e76fa98d6e4}
Display Name Installed Updates
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None
Legacy Display Name None, value introduced in Windows Vista. In earlier versions of Windows, the information on this page was included in Add or Remove Programs if the Show updates box was checked.
Legacy Default Path Not applicable

 

FOLDERID_CameraRoll
GUID {AB5FB87B-7CE2-4F83-915D-550846C9537B}
Display Name Camera Roll
Folder Type PERUSER
Default Path %USERPROFILE%\Pictures\Camera Roll
CSIDL Equivalent None, value introduced in Windows 8.1
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_CDBurning
GUID {9E52AB10-F80D-49DF-ACB8-4330F5687855}
Display Name Temporary Burn Folder
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Microsoft\Windows\Burn\Burn
CSIDL Equivalent CSIDL_CDBURN_AREA
Legacy Display Name CD Burning
Legacy Default Path %USERPROFILE%\Local Settings\Application Data\Microsoft\CD Burning

 

FOLDERID_ChangeRemovePrograms
GUID {df7266ac-9274-4867-8d55-3bd661de872d}
Display Name Programs and Features
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None
Legacy Display Name Add or Remove Programs
Legacy Default Path Not applicable—virtual folder

 

FOLDERID_CommonAdminTools
GUID {D0384E7D-BAC3-4797-8F14-CBA229B392B5}
Display Name Administrative Tools
Folder Type COMMON
Default Path %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Administrative Tools
CSIDL Equivalent CSIDL_COMMON_ADMINTOOLS
Legacy Display Name Administrative Tools
Legacy Default Path %ALLUSERSPROFILE%\Start Menu\Programs\Administrative Tools

 

FOLDERID_CommonOEMLinks
GUID {C1BAE2D0-10DF-4334-BEDD-7AA20B227A9D}
Display Name OEM Links
Folder Type COMMON
Default Path %ALLUSERSPROFILE%\OEM Links
CSIDL Equivalent CSIDL_COMMON_OEM_LINKS
Legacy Display Name OEM Links
Legacy Default Path %ALLUSERSPROFILE%\OEM Links

 

FOLDERID_CommonPrograms
GUID {0139D44E-6AFE-49F2-8690-3DAFCAE6FFB8}
Display Name Programs
Folder Type COMMON
Default Path %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs
CSIDL Equivalent CSIDL_COMMON_PROGRAMS
Legacy Display Name Programs
Legacy Default Path %ALLUSERSPROFILE%\Start Menu\Programs

 

FOLDERID_CommonStartMenu
GUID {A4115719-D62E-491D-AA7C-E74B8BE3B067}
Display Name Start Menu
Folder Type COMMON
Default Path %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu
CSIDL Equivalent CSIDL_COMMON_STARTMENU
Legacy Display Name Start Menu
Legacy Default Path %ALLUSERSPROFILE%\Start Menu

 

FOLDERID_CommonStartup
GUID {82A5EA35-D9CD-47C5-9629-E15D2F714E6E}
Display Name Startup
Folder Type COMMON
Default Path %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\StartUp
CSIDL Equivalent CSIDL_COMMON_STARTUP, CSIDL_COMMON_ALTSTARTUP
Legacy Display Name Startup
Legacy Default Path %ALLUSERSPROFILE%\Start Menu\Programs\StartUp

 

FOLDERID_CommonTemplates
GUID {B94237E7-57AC-4347-9151-B08C6C32D1F7}
Display Name Templates
Folder Type COMMON
Default Path %ALLUSERSPROFILE%\Microsoft\Windows\Templates
CSIDL Equivalent CSIDL_COMMON_TEMPLATES
Legacy Display Name Templates
Legacy Default Path %ALLUSERSPROFILE%\Templates

 

FOLDERID_ComputerFolder
GUID {0AC0837C-BBF8-452A-850D-79D08E667CA7}
Display Name Computer
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent CSIDL_DRIVES
Legacy Display Name My Computer
Legacy Default Path Not applicable—virtual folder

 

FOLDERID_ConflictFolder
GUID {4bfefb45-347d-4006-a5be-ac0cb0567192}
Display Name Conflicts
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None, value introduced in Windows Vista
Legacy Display Name Not applicable. This KNOWNFOLDERID refers to the Windows Vista Synchronization Manager. It is not the folder referenced by the older ISyncMgrConflictFolder.
Legacy Default Path Not applicable

 

FOLDERID_ConnectionsFolder
GUID {6F0CD92B-2E97-45D1-88FF-B0D186B8DEDD}
Display Name Network Connections
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent CSIDL_CONNECTIONS
Legacy Display Name Network Connections
Legacy Default Path Not applicable—virtual folder

 

FOLDERID_Contacts
GUID {56784854-C6CB-462b-8169-88E350ACB882}
Display Name Contacts
Folder Type PERUSER
Default Path %USERPROFILE%\Contacts
CSIDL Equivalent None, value introduced in Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_ControlPanelFolder
GUID {82A74AEB-AEB4-465C-A014-D097EE346D63}
Display Name Control Panel
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent CSIDL_CONTROLS
Legacy Display Name Control Panel
Legacy Default Path Not applicable—virtual folder

 

FOLDERID_Cookies
GUID {2B0F765D-C0E9-4171-908E-08A611B84FF6}
Display Name Cookies
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Cookies
CSIDL Equivalent CSIDL_COOKIES
Legacy Display Name Cookies
Legacy Default Path %USERPROFILE%\Cookies

 

FOLDERID_Desktop
GUID {B4BFCC3A-DB2C-424C-B029-7FE99A87C641}
Display Name Desktop
Folder Type PERUSER
Default Path %USERPROFILE%\Desktop
CSIDL Equivalent CSIDL_DESKTOP, CSIDL_DESKTOPDIRECTORY
Legacy Display Name Desktop
Legacy Default Path %USERPROFILE%\Desktop

 

FOLDERID_DeviceMetadataStore
GUID {5CE4A5E9-E4EB-479D-B89F-130C02886155}
Display Name DeviceMetadataStore
Folder Type COMMON
Default Path %ALLUSERSPROFILE%\Microsoft\Windows\DeviceMetadataStore
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_Documents
GUID {FDD39AD0-238F-46AF-ADB4-6C85480369C7}
Display Name Documents
Folder Type PERUSER
Default Path %USERPROFILE%\Documents
CSIDL Equivalents CSIDL_MYDOCUMENTS, CSIDL_PERSONAL
Legacy Display Name My Documents
Legacy Default Path %USERPROFILE%\My Documents

 

FOLDERID_DocumentsLibrary
GUID {7B0DB17D-9CD2-4A93-9733-46CC89022E7C}
Display Name Documents
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Libraries\Documents.library-ms
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_Downloads
GUID {374DE290-123F-4565-9164-39C4925E467B}
Display Name Downloads
Folder Type PERUSER
Default Path %USERPROFILE%\Downloads
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_Favorites
GUID {1777F761-68AD-4D8A-87BD-30B759FA33DD}
Display Name Favorites
Folder Type PERUSER
Default Path %USERPROFILE%\Favorites
CSIDL Equivalent CSIDL_FAVORITES, CSIDL_COMMON_FAVORITES
Legacy Display Name Favorites
Legacy Default Path %USERPROFILE%\Favorites

 

FOLDERID_Fonts
GUID {FD228CB7-AE11-4AE3-864C-16F3910AB8FE}
Display Name Fonts
Folder Type FIXED
Default Path %windir%\Fonts
CSIDL Equivalent CSIDL_FONTS
Legacy Display Name Fonts
Legacy Default Path %windir%\Fonts

 

FOLDERID_Games

Note:
This FOLDERID is deprecated in Windows 10, version 1803 and later versions. In these versions, it returns 0x80070057 - E_INVALIDARG

 
GUID {CAC52C1A-B53D-4edc-92D7-6B2E8AC19434}
Display Name Games
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_GameTasks
GUID {054FAE61-4DD8-4787-80B6-090220C4B700}
Display Name GameExplorer
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Microsoft\Windows\GameExplorer
CSIDL Equivalent None, value introduced in Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_History
GUID {D9DC8A3B-B784-432E-A781-5A1130A75963}
Display Name History
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Microsoft\Windows\History
CSIDL Equivalent CSIDL_HISTORY
Legacy Display Name History
Legacy Default Path %USERPROFILE%\Local Settings\History

 

FOLDERID_HomeGroup
GUID {52528A6B-B9E3-4ADD-B60D-588C2DBA842D}
Display Name Homegroup
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_HomeGroupCurrentUser
GUID {9B74B6A3-0DFD-4f11-9E78-5F7800F2E772}
Display Name The user's username (%USERNAME%)
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None, value introduced in Windows 8
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_ImplicitAppShortcuts
GUID {BCB5256F-79F6-4CEE-B725-DC34E402FD46}
Display Name ImplicitAppShortcuts
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\ImplicitAppShortcuts
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_InternetCache
GUID {352481E8-33BE-4251-BA85-6007CAEDCF9D}
Display Name Temporary Internet Files
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Microsoft\Windows\Temporary Internet Files
CSIDL Equivalent CSIDL_INTERNET_CACHE
Legacy Display Name Temporary Internet Files
Legacy Default Path %USERPROFILE%\Local Settings\Temporary Internet Files

 

FOLDERID_InternetFolder
GUID {4D9F7874-4E0C-4904-967B-40B0D20C3E4B}
Display Name The Internet
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent CSIDL_INTERNET
Legacy Display Name Internet Explorer
Legacy Default Path Not applicable—virtual folder

 

FOLDERID_Libraries
GUID {1B3EA5DC-B587-4786-B4EF-BD1DC332AEAE}
Display Name Libraries
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Libraries
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_Links
GUID {bfb9d5e0-c6a9-404c-b2b2-ae6db6af4968}
Display Name Links
Folder Type PERUSER
Default Path %USERPROFILE%\Links
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_LocalAppData
GUID {F1B32785-6FBA-4FCF-9D55-7B8E7F157091}
Display Name Local
Folder Type PERUSER
Default Path %LOCALAPPDATA% (%USERPROFILE%\AppData\Local)
CSIDL Equivalent CSIDL_LOCAL_APPDATA
Legacy Display Name Application Data
Legacy Default Path %USERPROFILE%\Local Settings\Application Data

 

FOLDERID_LocalAppDataLow
GUID {A520A1A4-1780-4FF6-BD18-167343C5AF16}
Display Name LocalLow
Folder Type PERUSER
Default Path %USERPROFILE%\AppData\LocalLow
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_LocalizedResourcesDir
GUID {2A00375E-224C-49DE-B8D1-440DF7EF3DDC}
Display Name None
Folder Type FIXED
Default Path %windir%\resources\0409 (code page)
CSIDL Equivalent CSIDL_RESOURCES_LOCALIZED
Legacy Display Name None
Legacy Default Path %windir%\resources\0409 (code page)

 

FOLDERID_Music
GUID {4BD8D571-6D19-48D3-BE97-422220080E43}
Display Name Music
Folder Type PERUSER
Default Path %USERPROFILE%\Music
CSIDL Equivalent CSIDL_MYMUSIC
Legacy Display Name My Music
Legacy Default Path %USERPROFILE%\My Documents\My Music

 

FOLDERID_MusicLibrary
GUID {2112AB0A-C86A-4FFE-A368-0DE96E47012E}
Display Name Music
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Libraries\Music.library-ms
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_NetHood
GUID {C5ABBF53-E17F-4121-8900-86626FC2C973}
Display Name Network Shortcuts
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Network Shortcuts
CSIDL Equivalent CSIDL_NETHOOD
Legacy Display Name NetHood
Legacy Default Path %USERPROFILE%\NetHood

 

FOLDERID_NetworkFolder
GUID {D20BEEC4-5CA8-4905-AE3B-BF251EA09B53}
Display Name Network
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent CSIDL_NETWORK, CSIDL_COMPUTERSNEARME
Legacy Display Name My Network Places
Legacy Default Path Not applicable—virtual folder

 

FOLDERID_Objects3D
GUID {31C0DD25-9439-4F12-BF41-7FF4EDA38722}
Display Name 3D Objects
Folder Type PERUSER
Default Path %USERPROFILE%\3D Objects
CSIDL Equivalent None, value introduced in Windows 10, version 1703
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_OriginalImages
GUID {2C36C0AA-5812-4b87-BFD0-4CD0DFB19B39}
Display Name Original Images
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Microsoft\Windows Photo Gallery\Original Images
CSIDL Equivalent None, value introduced in Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_PhotoAlbums
GUID {69D2CF90-FC33-4FB7-9A0C-EBB0F0FCB43C}
Display Name Slide Shows
Folder Type PERUSER
Default Path %USERPROFILE%\Pictures\Slide Shows
CSIDL Equivalent None, value introduced in Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_PicturesLibrary
GUID {A990AE9F-A03B-4E80-94BC-9912D7504104}
Display Name Pictures
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Libraries\Pictures.library-ms
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_Pictures
GUID {33E28130-4E1E-4676-835A-98395C3BC3BB}
Display Name Pictures
Folder Type PERUSER
Default Path %USERPROFILE%\Pictures
CSIDL Equivalent CSIDL_MYPICTURES
Legacy Display Name My Pictures
Legacy Default Path %USERPROFILE%\My Documents\My Pictures

 

FOLDERID_Playlists
GUID {DE92C1C7-837F-4F69-A3BB-86E631204A23}
Display Name Playlists
Folder Type PERUSER
Default Path %USERPROFILE%\Music\Playlists
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_PrintersFolder
GUID {76FC4E2D-D6AD-4519-A663-37BD56068185}
Display Name Printers
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent CSIDL_PRINTERS
Legacy Display Name Printers and Faxes
Legacy Default Path Not applicable—virtual folder

 

FOLDERID_PrintHood
GUID {9274BD8D-CFD1-41C3-B35E-B13F55A758F4}
Display Name Printer Shortcuts
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Printer Shortcuts
CSIDL Equivalent CSIDL_PRINTHOOD
Legacy Display Name PrintHood
Legacy Default Path %USERPROFILE%\PrintHood

 

FOLDERID_Profile
GUID {5E6C858F-0E22-4760-9AFE-EA3317B67173}
Display Name The user's username (%USERNAME%)
Folder Type FIXED
Default Path %USERPROFILE% (%SystemDrive%\Users\%USERNAME%)
CSIDL Equivalent CSIDL_PROFILE
Legacy Display Name The user's username (%USERNAME%)
Legacy Default Path %USERPROFILE% (%SystemDrive%\Documents and Settings\%USERNAME%)

 

FOLDERID_ProgramData
GUID {62AB5D82-FDC1-4DC3-A9DD-070D1D495D97}
Display Name ProgramData
Folder Type FIXED
Default Path %ALLUSERSPROFILE% (%ProgramData%, %SystemDrive%\ProgramData)
CSIDL Equivalent CSIDL_COMMON_APPDATA
Legacy Display Name Application Data
Legacy Default Path %ALLUSERSPROFILE%\Application Data

 

FOLDERID_ProgramFiles

See Remarks for more information.

GUID {905e63b6-c1bf-494e-b29c-65b732d3d21a}
Display Name Program Files
Folder Type FIXED
Default Path %ProgramFiles% (%SystemDrive%\Program Files)
CSIDL Equivalent CSIDL_PROGRAM_FILES
Legacy Display Name Program Files
Legacy Default Path %ProgramFiles% (%SystemDrive%\Program Files)

 

FOLDERID_ProgramFilesX64

This value is not supported on 32-bit operating systems. It also is not supported for 32-bit applications running on 64-bit operating systems. Attempting to use FOLDERID_ProgramFilesX64 in either situation results in an error. See Remarks for more information.

GUID {6D809377-6AF0-444b-8957-A3773F02200E}
Display Name Program Files
Folder Type FIXED
Default Path %ProgramFiles% (%SystemDrive%\Program Files)
CSIDL Equivalent None
Legacy Display Name Program Files
Legacy Default Path %ProgramFiles% (%SystemDrive%\Program Files)

 

FOLDERID_ProgramFilesX86

See Remarks for more information.

GUID {7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}
Display Name Program Files
Folder Type FIXED
Default Path %ProgramFiles% (%SystemDrive%\Program Files)
CSIDL Equivalent CSIDL_PROGRAM_FILESX86
Legacy Display Name Program Files
Legacy Default Path %ProgramFiles% (%SystemDrive%\Program Files)

 

FOLDERID_ProgramFilesCommon

See Remarks for more information.

GUID {F7F1ED05-9F6D-47A2-AAAE-29D317C6F066}
Display Name Common Files
Folder Type FIXED
Default Path %ProgramFiles%\Common Files
CSIDL Equivalent CSIDL_PROGRAM_FILES_COMMON
Legacy Display Name Common Files
Legacy Default Path %ProgramFiles%\Common Files

 

FOLDERID_ProgramFilesCommonX64

See Remarks for more information.

GUID {6365D5A7-0F0D-45E5-87F6-0DA56B6A4F7D}
Display Name Common Files
Folder Type FIXED
Default Path %ProgramFiles%\Common Files
CSIDL Equivalent None
Legacy Display Name Common Files
Legacy Default Path %ProgramFiles%\Common Files

 

FOLDERID_ProgramFilesCommonX86

See Remarks for more information.

GUID {DE974D24-D9C6-4D3E-BF91-F4455120B917}
Display Name Common Files
Folder Type FIXED
Default Path %ProgramFiles%\Common Files
CSIDL Equivalent CSIDL_PROGRAM_FILES_COMMONX86
Legacy Display Name Common Files
Legacy Default Path %ProgramFiles%\Common Files

 

FOLDERID_Programs
GUID {A77F5D77-2E2B-44C3-A6A2-ABA601054A51}
Display Name Programs
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Start Menu\Programs
CSIDL Equivalent CSIDL_PROGRAMS
Legacy Display Name Programs
Legacy Default Path %USERPROFILE%\Start Menu\Programs

 

FOLDERID_Public
GUID {DFDF76A2-C82A-4D63-906A-5644AC457385}
Display Name Public
Folder Type FIXED
Default Path %PUBLIC% (%SystemDrive%\Users\Public)
CSIDL Equivalent None, new for Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_PublicDesktop
GUID {C4AA340D-F20F-4863-AFEF-F87EF2E6BA25}
Display Name Public Desktop
Folder Type COMMON
Default Path %PUBLIC%\Desktop
CSIDL Equivalent CSIDL_COMMON_DESKTOPDIRECTORY
Legacy Display Name Desktop
Legacy Default Path %ALLUSERSPROFILE%\Desktop

 

FOLDERID_PublicDocuments
GUID {ED4824AF-DCE4-45A8-81E2-FC7965083634}
Display Name Public Documents
Folder Type COMMON
Default Path %PUBLIC%\Documents
CSIDL Equivalent CSIDL_COMMON_DOCUMENTS
Legacy Display Name Shared Documents
Legacy Default Path %ALLUSERSPROFILE%\Documents

 

FOLDERID_PublicDownloads
GUID {3D644C9B-1FB8-4f30-9B45-F670235F79C0}
Display Name Public Downloads
Folder Type COMMON
Default Path %PUBLIC%\Downloads
CSIDL Equivalent None, value introduced in Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_PublicGameTasks
GUID {DEBF2536-E1A8-4c59-B6A2-414586476AEA}
Display Name GameExplorer
Folder Type COMMON
Default Path %ALLUSERSPROFILE%\Microsoft\Windows\GameExplorer
CSIDL Equivalent None, value introduced in Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_PublicLibraries
GUID {48DAF80B-E6CF-4F4E-B800-0E69D84EE384}
Display Name Libraries
Folder Type COMMON
Default Path %ALLUSERSPROFILE%\Microsoft\Windows\Libraries
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_PublicMusic
GUID {3214FAB5-9757-4298-BB61-92A9DEAA44FF}
Display Name Public Music
Folder Type COMMON
Default Path %PUBLIC%\Music
CSIDL Equivalent CSIDL_COMMON_MUSIC
Legacy Display Name Shared Music
Legacy Default Path %ALLUSERSPROFILE%\Documents\My Music

 

FOLDERID_PublicPictures
GUID {B6EBFB86-6907-413C-9AF7-4FC2ABF07CC5}
Display Name Public Pictures
Folder Type COMMON
Default Path %PUBLIC%\Pictures
CSIDL Equivalent CSIDL_COMMON_PICTURES
Legacy Display Name Shared Pictures
Legacy Default Path %ALLUSERSPROFILE%\Documents\My Pictures

 

FOLDERID_PublicRingtones
GUID {E555AB60-153B-4D17-9F04-A5FE99FC15EC}
Display Name Ringtones
Folder Type COMMON
Default Path %ALLUSERSPROFILE%\Microsoft\Windows\Ringtones
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_PublicUserTiles
GUID {0482af6c-08f1-4c34-8c90-e17ec98b1e17}
Display Name Public Account Pictures
Folder Type COMMON
Default Path %PUBLIC%\AccountPictures
CSIDL Equivalent None, value introduced in Windows 8
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_PublicVideos
GUID {2400183A-6185-49FB-A2D8-4A392A602BA3}
Display Name Public Videos
Folder Type COMMON
Default Path %PUBLIC%\Videos
CSIDL Equivalent CSIDL_COMMON_VIDEO
Legacy Display Name Shared Video
Legacy Default Path %ALLUSERSPROFILE%\Documents\My Videos

 

FOLDERID_QuickLaunch
GUID {52a4f021-7b75-48a9-9f6b-4b87a210bc8f}
Display Name Quick Launch
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Internet Explorer\Quick Launch
CSIDL Equivalent None
Legacy Display Name Quick Launch
Legacy Default Path %APPDATA%\Microsoft\Internet Explorer\Quick Launch

 

FOLDERID_Recent
GUID {AE50C081-EBD2-438A-8655-8A092E34987A}
Display Name Recent Items
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Recent
CSIDL Equivalent CSIDL_RECENT
Legacy Display Name My Recent Documents
Legacy Default Path %USERPROFILE%\Recent

 

FOLDERID_RecordedTV

Not used. This value is undefined as of Windows 7.

FOLDERID_RecordedTVLibrary
GUID {1A6FDBA2-F42D-4358-A798-B74D745926C5}
Display Name Recorded TV
Folder Type COMMON
Default Path %PUBLIC%\RecordedTV.library-ms
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_RecycleBinFolder
GUID {B7534046-3ECB-4C18-BE4E-64CD4CB7D6AC}
Display Name Recycle Bin
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent CSIDL_BITBUCKET
Legacy Display Name Recycle Bin
Legacy Default Path Not applicable—virtual folder

 

FOLDERID_ResourceDir
GUID {8AD10C31-2ADB-4296-A8F7-E4701232C972}
Display Name Resources
Folder Type FIXED
Default Path %windir%\Resources
CSIDL Equivalent CSIDL_RESOURCES
Legacy Display Name Resources
Legacy Default Path %windir%\Resources

 

FOLDERID_Ringtones
GUID {C870044B-F49E-4126-A9C3-B52A1FF411E8}
Display Name Ringtones
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Microsoft\Windows\Ringtones
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_RoamingAppData
GUID {3EB685DB-65F9-4CF6-A03A-E3EF65729F3D}
Display Name Roaming
Folder Type PERUSER
Default Path %APPDATA% (%USERPROFILE%\AppData\Roaming)
CSIDL Equivalent CSIDL_APPDATA
Legacy Display Name Application Data
Legacy Default Path %APPDATA% (%USERPROFILE%\Application Data)

 

FOLDERID_RoamedTileImages
GUID {AAA8D5A5-F1D6-4259-BAA8-78E7EF60835E}
Display Name RoamedTileImages
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Microsoft\Windows\RoamedTileImages
CSIDL Equivalent None, value introduced in Windows 8
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_RoamingTiles
GUID {00BCFC5A-ED94-4e48-96A1-3F6217F21990}
Display Name RoamingTiles
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Microsoft\Windows\RoamingTiles
CSIDL Equivalent None, value introduced in Windows 8
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SampleMusic
GUID {B250C668-F57D-4EE1-A63C-290EE7D1AA1F}
Display Name Sample Music
Folder Type COMMON
Default Path %PUBLIC%\Music\Sample Music
CSIDL Equivalent None
Legacy Display Name Sample Music
Legacy Default Path %ALLUSERSPROFILE%\Documents\My Music\Sample Music

 

FOLDERID_SamplePictures
GUID {C4900540-2379-4C75-844B-64E6FAF8716B}
Display Name Sample Pictures
Folder Type COMMON
Default Path %PUBLIC%\Pictures\Sample Pictures
CSIDL Equivalent None
Legacy Display Name Sample Pictures
Legacy Default Path %ALLUSERSPROFILE%\Documents\My Pictures\Sample Pictures

 

FOLDERID_SamplePlaylists
GUID {15CA69B3-30EE-49C1-ACE1-6B5EC372AFB5}
Display Name Sample Playlists
Folder Type COMMON
Default Path %PUBLIC%\Music\Sample Playlists
CSIDL Equivalent None, value introduced in Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SampleVideos
GUID {859EAD94-2E85-48AD-A71A-0969CB56A6CD}
Display Name Sample Videos
Folder Type COMMON
Default Path %PUBLIC%\Videos\Sample Videos
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SavedGames
GUID {4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}
Display Name Saved Games
Folder Type PERUSER
Default Path %USERPROFILE%\Saved Games
CSIDL Equivalent None, value introduced in Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SavedPictures
GUID {3B193882-D3AD-4eab-965A-69829D1FB59F}
Display Name Saved Pictures
Folder Type PERUSER
Default Path %USERPROFILE%\Pictures\Saved Pictures
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SavedPicturesLibrary
GUID {E25B5812-BE88-4bd9-94B0-29233477B6C3}
Display Name Saved Pictures Library
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Libraries\SavedPictures.library-ms
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SavedSearches
GUID {7d1d3a04-debb-4115-95cf-2f29da2920da}
Display Name Searches
Folder Type PERUSER
Default Path %USERPROFILE%\Searches
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_Screenshots
GUID {b7bede81-df94-4682-a7d8-57a52620b86f}
Display Name Screenshots
Folder Type PERUSER
Default Path %USERPROFILE%\Pictures\Screenshots
CSIDL Equivalent None, value introduced in Windows 8
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SEARCH_CSC
GUID {ee32e446-31ca-4aba-814f-a5ebd2fd6d5e}
Display Name Offline Files
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SearchHistory
GUID {0D4C3DB6-03A3-462F-A0E6-08924C41B5D4}
Display Name History
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Microsoft\Windows\ConnectedSearch\History
CSIDL Equivalent None, value introduced in Windows 8.1
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SearchHome
GUID {190337d1-b8ca-4121-a639-6d472d16972a}
Display Name Search Results
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SEARCH_MAPI
GUID {98ec0e18-2098-4d44-8644-66979315a281}
Display Name Microsoft Office Outlook
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SearchTemplates
GUID {7E636BFE-DFA9-4D5E-B456-D7B39851D8A9}
Display Name Templates
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Microsoft\Windows\ConnectedSearch\Templates
CSIDL Equivalent None, value introduced in Windows 8.1
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SendTo
GUID {8983036C-27C0-404B-8F08-102D10DCFD74}
Display Name SendTo
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\SendTo
CSIDL Equivalent CSIDL_SENDTO
Legacy Display Name SendTo
Legacy Default Path %USERPROFILE%\SendTo

 

FOLDERID_SidebarDefaultParts
GUID {7B396E54-9EC5-4300-BE0A-2482EBAE1A26}
Display Name Gadgets
Folder Type COMMON
Default Path %ProgramFiles%\Windows Sidebar\Gadgets
CSIDL Equivalent None, new for Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SidebarParts
GUID {A75D362E-50FC-4fb7-AC2C-A8BEAA314493}
Display Name Gadgets
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Microsoft\Windows Sidebar\Gadgets
CSIDL Equivalent None, new for Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SkyDrive
GUID {A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}
Display Name OneDrive
Folder Type PERUSER
Default Path %USERPROFILE%\OneDrive
CSIDL Equivalent None, value introduced in Windows 8.1
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SkyDriveCameraRoll
GUID {767E6811-49CB-4273-87C2-20F355E1085B}
Display Name Camera Roll
Folder Type PERUSER
Default Path %USERPROFILE%\OneDrive\Pictures\Camera Roll
CSIDL Equivalent None, value introduced in Windows 8.1
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SkyDriveDocuments
GUID {24D89E24-2F19-4534-9DDE-6A6671FBB8FE}
Display Name Documents
Folder Type PERUSER
Default Path %USERPROFILE%\OneDrive\Documents
CSIDL Equivalent None, value introduced in Windows 8.1
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SkyDrivePictures
GUID {339719B5-8C47-4894-94C2-D8F77ADD44A6}
Display Name Pictures
Folder Type PERUSER
Default Path %USERPROFILE%\OneDrive\Pictures
CSIDL Equivalent None, value introduced in Windows 8.1
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_StartMenu
GUID {625B53C3-AB48-4EC1-BA1F-A1EF4146FC19}
Display Name Start Menu
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Start Menu
CSIDL Equivalent CSIDL_STARTMENU
Legacy Display Name Start Menu
Legacy Default Path %USERPROFILE%\Start Menu

 

FOLDERID_Startup
GUID {B97D20BB-F46A-4C97-BA10-5E3608430854}
Display Name Startup
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Start Menu\Programs\StartUp
CSIDL Equivalent CSIDL_STARTUP, CSIDL_ALTSTARTUP
Legacy Display Name Startup
Legacy Default Path %USERPROFILE%\Start Menu\Programs\StartUp

 

FOLDERID_SyncManagerFolder
GUID {43668BF8-C14E-49B2-97C9-747784D784B7}
Display Name Sync Center
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None, value introduced in Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SyncResultsFolder
GUID {289a9a43-be44-4057-a41b-587a76d7e7f9}
Display Name Sync Results
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None, value introduced in Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_SyncSetupFolder
GUID {0F214138-B1D3-4a90-BBA9-27CBC0C5389A}
Display Name Sync Setup
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None, value introduced in Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_System
GUID {1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}
Display Name System32
Folder Type FIXED
Default Path %windir%\system32
CSIDL Equivalent CSIDL_SYSTEM
Legacy Display Name system32
Legacy Default Path %windir%\system32

 

FOLDERID_SystemX86
GUID {D65231B0-B2F1-4857-A4CE-A8E7C6EA7D27}
Display Name System32
Folder Type FIXED
Default Path %windir%\system32
CSIDL Equivalent CSIDL_SYSTEMX86
Legacy Display Name system32
Legacy Default Path %windir%\system32

 

FOLDERID_Templates
GUID {A63293E8-664E-48DB-A079-DF759E0509F7}
Display Name Templates
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Templates
CSIDL Equivalent CSIDL_TEMPLATES
Legacy Display Name Templates
Legacy Default Path %USERPROFILE%\Templates

 

FOLDERID_TreeProperties

Not used in Windows Vista. Unsupported as of Windows 7.

FOLDERID_UserPinned
GUID {9E3995AB-1F9C-4F13-B827-48B24B6C7174}
Display Name User Pinned
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_UserProfiles
GUID {0762D272-C50A-4BB0-A382-697DCD729B80}
Display Name Users
Folder Type FIXED
Default Path %SystemDrive%\Users
CSIDL Equivalent None, new for Windows Vista
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_UserProgramFiles
GUID {5CD7AEE2-2219-4A67-B85D-6C9CE15660CB}
Display Name Programs
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Programs
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_UserProgramFilesCommon
GUID {BCBD3057-CA5C-4622-B42D-BC56DB0AE516}
Display Name Programs
Folder Type PERUSER
Default Path %LOCALAPPDATA%\Programs\Common
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_UsersFiles
GUID {f3ce0f7c-4901-4acc-8648-d5d44b04ef8f}
Display Name The user's full name (for instance, Jean Philippe Bagel) entered when the user account was created.
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_UsersLibraries
GUID {A302545D-DEFF-464b-ABE8-61C8648D939B}
Display Name Libraries
Folder Type VIRTUAL
Default Path Not applicable—virtual folder
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_Videos
GUID {18989B1D-99B5-455B-841C-AB7C74E4DDFC}
Display Name Videos
Folder Type PERUSER
Default Path %USERPROFILE%\Videos
CSIDL CSIDL_MYVIDEO
Legacy Display Name My Videos
Legacy Default Path %USERPROFILE%\My Documents\My Videos

 

FOLDERID_VideosLibrary
GUID {491E922F-5643-4AF4-A7EB-4E7A138D8174}
Display Name Videos
Folder Type PERUSER
Default Path %APPDATA%\Microsoft\Windows\Libraries\Videos.library-ms
CSIDL Equivalent None, value introduced in Windows 7
Legacy Display Name Not applicable
Legacy Default Path Not applicable

 

FOLDERID_Windows
GUID {F38BF404-1D43-42F2-9305-67DE0B28FC23}
Display Name Windows
Folder Type FIXED
Default Path %windir%
CSIDL Equivalent CSIDL_WINDOWS
Legacy Display Name WINDOWS
Legacy Default Path %windir%

 

Remarks

The interpretation of certain KNOWNFOLDERID values depends on whether the folder is part of a 32-bit or 64-bit application and whether that application is running on a 32-bit or 64-bit operating system. If your application needs to distinguish between, for example, Program Files and Program Files (x86), you must use the right KNOWNFOLDERID for the situation.

The following tables summarize the KNOWNFOLDERID use in those cases.

FOLDERID_ProgramFiles

Operating System Application KNOWNFOLDERID Default Path CSIDL Equivalent
32 bit 32 bit FOLDERID_ProgramFiles %SystemDrive%\Program Files CSIDL_PROGRAM_FILES
32 bit 32 bit FOLDERID_ProgramFilesX86 %SystemDrive%\Program Files CSIDL_PROGRAM_FILESX86
32 bit 32 bit FOLDERID_ProgramFilesX64 (not supported under 32-bit operating systems) Not applicable Not applicable
64 bit 64 bit FOLDERID_ProgramFiles %SystemDrive%\Program Files CSIDL_PROGRAM_FILES
64 bit 64 bit FOLDERID_ProgramFilesX86 %SystemDrive%\Program Files (x86) CSIDL_PROGRAM_FILESX86
64 bit 64 bit FOLDERID_ProgramFilesX64 %SystemDrive%\Program Files None
64 bit 32 bit FOLDERID_ProgramFiles %SystemDrive%\Program Files (x86) CSIDL_PROGRAM_FILES
64 bit 32 bit FOLDERID_ProgramFilesX86 %SystemDrive%\Program Files (x86) CSIDL_PROGRAM_FILESX86
64 bit 32 bit FOLDERID_ProgramFilesX64 (not supported for 32-bit applications) Not applicable Not applicable

FOLDERID_ProgramFilesCommon

Operating System Application KNOWNFOLDERID Default Path CSIDL Equivalent
32 bit 32 bit FOLDERID_ProgramFilesCommon %ProgramFiles%\Common Files CSIDL_PROGRAM_FILES_COMMON
32 bit 32 bit FOLDERID_ProgramFilesCommonX86 %ProgramFiles%\Common Files CSIDL_PROGRAM_FILES_COMMONX86
32 bit 32 bit FOLDERID_ProgramFilesCommonX64 (undefined) Not applicable Not applicable
64 bit 64 bit FOLDERID_ProgramFilesCommon %ProgramFiles%\Common Files CSIDL_PROGRAM_FILES_COMMON
64 bit 64 bit FOLDERID_ProgramFilesCommonX86 %ProgramFiles(x86)%\Common Files CSIDL_PROGRAM_FILES_COMMONX86
64 bit 64 bit FOLDERID_ProgramFilesCommonX64 %ProgramFiles%\Common Files None
64 bit 32 bit FOLDERID_ProgramFilesCommon %ProgramFiles(x86)%\Common Files CSIDL_PROGRAM_FILES_COMMON
64 bit 32 bit FOLDERID_ProgramFilesCommonX86 %ProgramFiles(x86)%\Common Files CSIDL_PROGRAM_FILES_COMMONX86
64 bit 32 bit FOLDERID_ProgramFilesCommonX64 %ProgramFiles%\Common Files None

FOLDERID_System

Operating System Application KNOWNFOLDERID Default Path CSIDL Equivalent
32 bit 32 bit FOLDERID_System %windir%\system32 CSIDL_SYSTEM
32 bit 32 bit FOLDERID_SystemX86 %windir%\system32 CSIDL_SYSTEMX86
64 bit 64 bit FOLDERID_System %windir%\system32 CSIDL_SYSTEM
64 bit 64 bit FOLDERID_SystemX86 %windir%\syswow64 CSIDL_SYSTEMX86
64 bit 32 bit FOLDERID_System %windir%\system32 CSIDL_SYSTEM
64 bit 32 bit FOLDERID_SystemX86 %windir%\syswow64 CSIDL_SYSTEMX86

We have used environment strings to provide generic paths throughout this topic. The following tables give examples of the paths those environment strings represent. In some cases, these paths might not match those on a particular computer because of choices made during installation or later folder redirection. Note that some paths have changed for Windows Vista.

Windows Vista and later

Environment String Example Path
%ALLUSERSPROFILE% C:\ProgramData
%APPDATA% C:\Users\username\AppData\Roaming
%LOCALAPPDATA% C:\Users\username\AppData\Local
%ProgramData% C:\ProgramData
%ProgramFiles% C:\Program Files
%ProgramFiles(x86)% C:\Program Files (x86)
%PUBLIC% C:\Users\Public
%SystemDrive% C:
%USERPROFILE% C:\Users\username
%windir% C:\Windows

Windows XP and earlier

Environment String Example Path
%ALLUSERSPROFILE% C:\Documents and Settings\All Users
%APPDATA% C:\Documents and Settings\username\Application Data
%ProgramFiles% C:\Program Files
%SystemDrive% C:
%USERPROFILE% C:\Documents and Settings\username
%windir% C:\Windows

Requirements

Requirement Value
Header
Knownfolders.h

See also

CSIDL

Known Folders

Working with Known Folders in Applications

How to Extend Known Folders with Custom Folders

Known Folders Sample