ShellClassInfo] text to it.
4. Next, open a Command Prompt window (cmd.exe), and type the following
at the prompt:
attrib +s foldername
where foldername is the full path of the folder containing the desktop.ini
file (i.e., C:\docs). This command turns on the System attribute for the
folder (not the desktop.ini file), something you can??™t do in Explorer; see
Chapter 9 for details.
5. Close the Command Prompt window when you??™re done. You??™ll have to
close and reopen the Explorer or single-folder window to see the change
(pressing F5 usually won??™t do it).
Solution 3: Choose the default icon for all folders
The more global and far-reaching a change is, the more likely it is to be difficult
or impossible to accomplish without some serious tinkering in the Registry.
An example are the icons used by some of the seemingly hardcoded
objects in Windows, such as the icons used for ordinary, generic folders.
1. Open the Registry Editor (see Chapter 3).
2. Expand the branches to HKEY_CLASSES_ROOT\Folder\DefaultIcon (you
can also choose a generic drive icon by going to HKEY_CLASSES_ROOT\
Drive\DefaultIcon).
Working with Files and Folders | 77
Shell Tweaks
3. Double-click the (Default) value in the right pane. This value contains
the full path and filename of the file containing the icon, followed by a
comma, and then a number specifying the index of the icon to use (0
being the first icon, 1 being the second, and so on). The file you use can
be an icon file (.
Pages:
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129