Tell me more ×
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
2  
This might be a better question for superuser. Are you trying to do this programmatically? – patrickmjones 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

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

1 Answer

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.