|
|
Desktop.ini Syntax
|
| CLSID = CLSID value | for creating system and special folders |
| CLSID2 = CLSID value | makes desktop.ini invisible to Explorer and the DOS dir, even after setting attrib -s -h |
| UICLSID = CLSID value | makes the entire folder (and branch?) invisible to Explorer and to the DOS dir |
| ConfirmFileOp = 0 | no warning when doing file operations on a read-only or system folder |
| NoSharing = 1 | prevents the folder from being shared (pre-XP) |
| Sharing = 1 | the folder is shared (XP) |
| IconFile = path | specifies an icon for the folder (ico, bmp, exe, dll, icl), eg.: c:\test.ico |
| IconIndex = number | specifies the index for an icon (0=first icon), if negative it's a resource ID |
| IconResource = path, number | specifies an icon for the folder, see IconFile and IconIndex (Vista) |
| InfoTip = text | text string or string ID in a resource module, eg.: @shell32.dll,-12689 |
| HTMLInfoTipFile = file://Comment.htt | HyperText file containing InfoTip string (pre-XP) |
| URL = https://www.website.com | for opening the folder as a web page (pre-XP) |
| Logo = file://C:\WINDOWS\clouds.bmp | small logo when you open the folder as a web page |
| WideLogo = file://C:\WINDOWS\clouds.bmp | large logo |
| LocalizedResourceName = @shell32.dll,-21765 | specifies a resource module and the string ID to use as the folder name |
| BuyURL = SamplePictures | link which opens when you click Buy Pictures in 'Sample Pictures' folder |
| MusicBuyUrl = url | link which opens when you click Buy Music in 'Shared Music' folder |
| RunWizard = 1 | used when Windows creates a Briefcase folder |
| DefaultToFS = 0 | (?) used in some History folders |
| FolderType = string (see NOTE 1) | DEFAULT Folder Type if Show Common Tasks in Folders is selected |
| DefaultDropEffect = number (see NOTE 2) | default action when you 'Drag and Drop' files in the folder |
| EmptyText = ? | (Vista) |
NOTE 1: |
| FolderType = | Documents |
| MyDocuments | |
| Pictures | |
| MyPictures | |
| PhotoAlbum | |
| Music | |
| MyMusic | |
| MusicArtist | |
| MusicAlbum | |
| Videos | |
| MyVideos | |
| VideoAlbum | |
| UseLegacyHTT | |
| CommonDocuments | |
| Generic |
This works only if the Folder Type is not already placed in the registry. Place a Desktop.ini file with the FolderType entry in a folder. In Explorer, choose Tools, Folder Options and click the View tab, click the button labeled Reset All Folders NOTE 2: |
| DefaultDropEffect = | 1 - Copy |
| 2 - Move | |
| 4 - Create a shortcut |
|
| Default = {5984FFE0-28D4-11CF-AE66-08002B2E1262} | default view |
| {BE098140-A513-11D0-A3A4-00C04FD706EC} = {BE098140-A513-11D0-A3A4-00C04FD706EC} | folder settings |
| {8BEBB290-52D0-11d0-B7F4-00C04FD706EC} = {8BEBB290-52D0-11d0-B7F4-00C04FD706EC} | thumbnail view |
| {5984FFE0-28D4-11CF-AE66-08002B2E1262} = {5984FFE0-28D4-11CF-AE66-08002B2E1262} | web view |
|
| PersistMoniker = file://template.htt | HyperText Template |
| WebViewTemplate.NT5 = ImgView.htt | |
| PersistMonikerPreview = \web\imgview.htt |
|
| Attributes = 1 | |
| IconArea_Image = C:\WINDOWS\clouds.bmp | background picture |
| IconArea_Text = 0x00000000 | text color |
| IconArea_TextBackground = 0x00000000 | background text color |
|
| MenuName = T&humbnails | |
| ToolTipText = T&humbnails | |
| HelpText = Displays items using thumbnail view | status bar message |
| Attributes = 0x60000000 |
|
| CDFURL = | website |
| ScreenSaverURL = file://test.htm | URL of HTML page to display as screen saver |
| Logo = file://C:\WINDOWS\web\chang_sl.gif | small logo |
| WideLogo = file://C:\WINDOWS\web\chang_wl.gif | large logo |
| Icon = file://C:\WINDOWS\web\chang.ico |
|
| Windows-catalogus.lnk = @%SystemRoot%\system32\shell32.dll,-22075 | maps filenames to string values |
|
| Disable = 1 | disables EFS encryption for the specified folder |
If you copy the desktop.ini to another location this section will not appear in the copied desktop.ini
|
| Owner = %username% | if 'Owner' has a different name than the user's, the folder is labeled with a different user's logon name |
| Personalized = 5 | |
| PersonalizedName = My Documents | means that without the desktop.ini file, the 'My Documents' folder would be called Documents |
same as [DeleteOnCopy] on non-English, non-Western systems (?)
|
same as [DeleteOnCopy] on non-English, non-Western systems (?)
|
|
| Mode = ? | |
| Vid = CLSID key (see Note 3) | |
| FolderType = see under ShellClassInfo | |
| Logo = see under ShellClassInfo |
NOTE 3: |
| CLSID Key | Description | Mode |
| {0057D0E0-3573-11CF-AE69-08002B2E1262} | Icons | 1 |
| {0E1FA5E0-3573-11CF-AE69-08002B2E1262} | List | 3 |
| {137E7700-3573-11CF-AE69-08002B2E1262} | Details | 4 |
| {8BEBB290-52D0-11D0-B7F4-00C04FD706EC} | Thumbnail | 5 |
| {65F125E5-7BE1-4810-BA9D-D271C8432CE3} | Tiles | 6 |
| {8EEFA624-D1E9-445B-94B7-74FBCE2EA11A} | Filmstrip | 7 |
|
| Prop2 = 31,Title | adds metadata to folders (Vista) |
| Prop3 = 31,Subject | |
| Prop4 = 31,Author | |
| Prop5 = 31,Keywords(Tags) | |
| Prop6 = 31,Comment |