Questions tagged [desktop.ini]

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

39 questions
38
votes
6 answers

Hide desktop.ini for the desktop view only; still show hidden and system files

Is it possible to hide desktop.ini on the desktop, but show it when viewed in Windows Explorer? Essentially, I need to be able to see hidden and system files when using Windows Explorer, but I don't like the two desktop.ini files on my desktop…
David Beckman
  • 849
  • 3
  • 9
  • 16
29
votes
7 answers

Why is desktop.ini "Ready to Be Written to the Disc" of any CD or DVD inserted under Windows 7?

I have a netbook with an external CD/DVD burner running Windows 7 Starter. Whenever I put any CD or DVD (doesn't have to be blank) in the drive and navigate to its path in Windows Explorer, it tells me under "Files Currently on the Disc": Files…
hippietrail
  • 4,505
  • 15
  • 53
  • 86
15
votes
2 answers

Self-created desktop.ini does not work

In Windows 7 x64 SP1, when creating a desktop.ini file with a text editor (e.g. notepad, notepad++) and saving it inside a folder, it does not work. For example, I have saved this desktop.ini inside a…
user1580348
  • 1,488
  • 5
  • 20
  • 33
7
votes
2 answers

Where can I find complete documentation on desktop.ini for Windows 7?

The documentation at the Windows Dev Center is fairly limited compared not only to third party sites, but to even what I can create by changing folder settings and opening up the resulting desktop.ini file. The problem with third party sites is that…
7
votes
5 answers

What is the purpose of the "desktop.ini" file in Windows and how can I keep it from being generated?

It's not a big problem, but I'm comparing a lot of directories and desktop.ini keeps throwing off the total file size and file count. How can I make Windows stop generating it, and what does it do?
Fred Hamilton
  • 2,210
  • 5
  • 31
  • 41
7
votes
4 answers

Hide desktop.ini file only, without hiding other "hidden files"?

I want to hide desktop.ini files but preserve their functionality¹, keeping all other hidden files and protected system files visible on Windows 8 and above. The reason: I like to see everything going on in my folders—except that annoying file…
Rhaenys
  • 732
  • 9
  • 15
6
votes
3 answers

Is there a way to disable LocalizedResourceName (desktop.ini) globally?

I'm using a German windows 7 and while I'm fine with that (otherwise I'd install an english version), I really dislike localized folder names - I'd like to see the true folder name. Of course I could simply delete LocalizedResourceName from every…
ThiefMaster
  • 6,007
  • 9
  • 36
  • 43
5
votes
4 answers

Disable creation of desktop.ini in Windows 8 (on the Desktop)

There are a few questions about the issue and they propose some solutions: Disable displaying of hidden files (no solution at all) Unchecking "Remember each folder's view settings" (which is not present in Windows 8!) Creating "UseDesktopIniCache"…
Wojtek
  • 407
  • 3
  • 6
  • 11
4
votes
1 answer

DESKTOP.INI command to autorun a file in the folder

Is there a command that can be used in DESKTOP.INI files to open/run a file when the containing folder is opened? There are already a couple of ways to assign an icon to folders, so being able to have a file in a given folder run when the folder is…
Synetech
  • 68,243
  • 36
  • 223
  • 356
4
votes
3 answers

How to get Windows to read copied desktop.ini file?

I have a folder with a custom icon and its setting is stored in desktop.ini I believe. I wanted to apply that same icon to a bunch of folders. So I thought simply copying desktop.ini to any other folder would do the job, but Windows Explorer doesn't…
laggingreflex
  • 5,035
  • 17
  • 65
  • 96
3
votes
1 answer

Desktop.ini InfoTip not working

I'm trying to utilize some of the capabilities of desktop.ini in Windows to help organize the network file system at work. Most network folders need an Archive folder at various levels in the filesystem, so I've been able to use desktop.ini to…
tbm0115
  • 131
  • 5
2
votes
1 answer

IconIndex value of -101 in desktop.ini pointing to the second icon in DLL?

I have a folder which is displayed in Windows Explorer as: Inside this folder the hidden desktop.ini has this content: [.ShellClassInfo] [email protected],-12688 IconFile=%SystemRoot%\system32\mydocs.dll IconIndex=-101 This mydocs.dll…
user1580348
  • 1,488
  • 5
  • 20
  • 33
2
votes
1 answer

Renaming multiple files in windows 7 and changing the IconResource field in all desktop.ini

I have multiple folders under a root directory, within each is an icon (.ico) file which acts as the icon for the parent folder. Unfortunately, a lot of these .ico files are named "Untitled-*.ico" (due to laziness!), and more importantly, the…
timster
  • 21
  • 4
2
votes
0 answers

what are the possible choices for the 'Mode=' field in desktop.ini file

I would like to know what are the possible choices for the 'Mode=' field, I want to keep only one directory with medium icons (my default setting is Details) and I suppose that's the field to set. Unfortunately there's really no information about…
farco
  • 21
  • 1
2
votes
4 answers

How to delete visible Desktop.ini, Thumbs.db and album art from My Music

How do I delete album art, desktop.ini, and thumbs.db from my music folder in Windows 7? I can see all of these files because I took the hard drive from my old computer and put it in my new one. It now has all of these junk files that the OS does…
Mark Tomlin
  • 1,299
  • 3
  • 14
  • 23
1
2 3