A common use of the Desktop.ini file is to assign a custom icon or thumbnail image to a folder
Description
Folders are normally displayed with the standard folder icon. A common use of the Desktop.ini file is to assign a custom icon or thumbnail image to a folder. You can also use Desktop.ini to create an infotip that displays information about the folder and controls some aspects of the folder's behavior, such as specifying localized names for the folder or items in the folder.
Available options
- ConfirmFileOp: Set this entry to 0 to avoid a "You Are Deleting a System Folder" warning when deleting or moving the folder.
- NoSharing: Not supported under Windows Vista or later. Set this entry to 1 to prevent the folder from being shared.
- IconFile (until Windows XP): If you want to specify a custom icon for the folder, set this entry to the icon's file name. The .ico file name extension is preferred, but it is also possible to specify .bmp files, or .exe and .dll files that contain icons. If you use a relative path, the icon is available to people who view the folder over the network. You must also set the IconIndex entry.
- IconIndex (until Windows XP): Set this entry to specify the index for a custom icon. If the file assigned to IconFile only contains a single icon, set IconIndex to 0.
- InfoTip: Set this entry to an informational text string. It is displayed as an infotip when the cursor hovers over the folder. If the user clicks the folder, the information text is displayed in the folder's information block, below the standard information.
- IconResource: (since Windows Vista) In Windows Vista and later, IconFile and IconIndex parameters are deprecated in favor of the new IconResource.
Example:%SystemRoot%\system32\imageres.dll,-113
Source: http://msdn.microsoft.com/en-us/library/cc144102%28VS.85%29.aspx