January 8, 2008
5:02 pm

One person was trying to back up his documents directory. So, he'd use Robocopy to copy the files over. For example, he would use the following command line:

robocopy c:\users\<username>\documents e:\documentsbackup-january

Then, he'd click over to this directory in Windows Explorer, and he couldn't see e:\documentsbackup-january, he would see e:\documents.

To find out what is going on, you'll have to view some hidden system files. From Windows Explorer, select Organize -> Folder and Search Options. On the View tab, select the option to show hidden files and uncheck the option to hide protected operating system files. Now, in the documents directory, right click on desktop.ini and select edit. Here is mine:

[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21770
IconResource=%SystemRoot%\system32\imageres.dll,-112
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-235

The LocalizedResourceName is what is making things interesting here. No matter what you call this directory, Explorer is going to display the LocalizedResourceName.

Microsoft

Windows Vista, Documents, Folder, Rename, Tips and Tricks, Troubleshooting

Loading

Contextual Related Posts:

1 Response | RSS comments on this post | Leave a comment»

  1. 1
    dan says#1 | October 3rd, 2009 at 1:39 pm

    AMAZING was scratching my head on this one for an HOUR. facinating in a horror movie, what the hell is it doing, kind of way.

    so... can I remove/change LocalizedResourceName or will vista be angry?

    What a screwy 'feature'!

No Pingback yet

PingBack URI

Leave a Response

Comment Preview
« Standards at MicrosoftGoogle Joins DataPortability.org »
Feed Icon

Subscribe via RSS or email: