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.

Win 7 have Customize tab in folder right click context menu for most directory but C:\Windows as an exception. Anyone knows how to customize the icon of %windir% (usually C:\windows)?

BTW, I mean doing this as a user, but not doing this programmatically.

share|improve this question

migrated from stackoverflow.com Dec 23 '12 at 10:37

This question came from our site for professional and enthusiast programmers.

2  
This might be a better question for superuser. Are you trying to do this programmatically? –  Patrick Jones Dec 23 '12 at 3:38
    
Here's how you can change the icon. –  arttronics Dec 23 '12 at 3:42
    
@patrickmjones no, I'm try to do this as a user via GUI/console –  Byzod Dec 23 '12 at 3:57
2  
@attronics C:\Windows is an exception, you troll –  Byzod Dec 23 '12 at 4:01

1 Answer 1

Folder icon overrides are specified in a desktop.ini file in that folder.

Just copy that file from another folder.

share|improve this answer
    
Hi Slaks, I tried, but it do not work, the windows icon becomes a blank fold when I copied a desktop.ini to C:\windows, even after a restart. The content of it (no multi-line in comment, so \n stands for a newline): [.ShellClassInfo]\n IconResource=D:\ico\Token\System+Settings\Gear.ico,0\n IconIndex=0 –  Byzod Dec 23 '12 at 3:42

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.