Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got a simple desktop.ini file that applies a folder icon. I'd like it to work on a network location, as we have an external hard drive connected to our network. However, the desktop.ini seems to have no effect on said network.

What am I doing wrong?

share|improve this question
add comment

3 Answers

The problem has to do with the host containing the folder. Some network attached storage device (NAS), like the DROBO for example, run internally on Linux and their SAMBA network shell does not respect nor correctly implement the standard windows file attributes (R,S,H,A,I).

So relative paths will NOT help if the desktop.ini file is not read in the first place !!!

Because the host device, RAID, NAS or drive does not correctly report the "System" or "Read only" bit which windows expects to trigger the processing of the desktop.ini file, the file is never read and its contents do not matter.

Have found no solution to this problem yet.

share|improve this answer
add comment

Have a read at this article http://helpdeskgeek.com/how-to/customize-folder-icons-desktop-ini/

IconFile

If you want to specify a custom icon for the folder, set this entry to the icon’s file name. The .ico file 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 Icon Index entry.

In over words you will have to specify a relative path to your icon

eg ./hiddenfolder/mycoolicon.ico

Note that you may need to place two (or more) dots if the directory of the .ico folder lies outside of the location of the desktop.ini file- try experimenting and refreshing the Windows/File Explorer window.

Good Luck

share|improve this answer
1  
No, that's not the problem. The desktop.ini file seems to be ignored, as none of the other commands in it are being processed either. Interestingly, I can't set it to be "hidden". –  Eric Jun 7 '10 at 10:28
    
What OS are you using to view the shared folder? –  Christopher Wilson Jun 7 '10 at 12:47
    
Windows XP. [15 char limit] –  Eric Jun 8 '10 at 6:52
add comment

You have to mark the folder as system or readonly, to make the desktop.ini work. readonly is better, as system folders are omitted from explorer-searches by default. attrib +r (folder name)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.