PDA

View Full Version : My Documents folder, possible to assign a special icon through the registry?


Lee C.
December 5th 03, 10:34 PM
This is a minor matter, but I tend to get stubborn when I can't get =
something to work that I think ought to work. But, after several hours =
of tinkering around, I decided I'd better ask my betters.

I'm multibooting WIN 98, 2000 (pro), and XP (pro); sharing the =
''MyDocuments'' folder between them as d:\documents

WIN 98, as default behavior, assigns a specialty icon to this folder =
(the one that appears on the desktop in the other two systems); neither =
of the other two OSs use the special icon. XP will, however, show the =
icon if the folder is set ''read only''. Problem is that the folder =
loses the set attributes when I reboot into either WIN 98 or 2000, and =
the icon is gone again next time I'm in XP.

I figure, after some fussing around with it, that this has something to =
do with the ''desktop.ini'' file. It appears that perhaps WIN 2000 =
doesn't think there needs be a desktop.ini file at all, and the one =
that's in there now has been re-written by either 98 or XP or both, and =
I'm not sure which of the lines in that file were provided by which OS. =
What exactly the originals read like I don't know.

Quaere then: Is there a way to assign an icon to the My Documents =
folder from within the XP registry?

Ramesh
December 5th 03, 10:34 PM
Lee,

Change Icon - Utility
http://www.pcworld.com/downloads/file_description/0,fid,7028,00.asp

If you want to manually change the icon, edit the "desktop.ini" file in that
particular folder;
==================================
[.ShellClassInfo]
IconFile=C:\WINDOWS\system32\SHELL32.dll
IconIndex=22
==================================

Change the IconIndex to match your favorite icon. To know the icons
available under shell32.dll, use change icon for any other shortcut file.


For Drives:
Change Drive Name and Icon
http://www.winguides.com/registry/display.php/912/

http://www.codeproject.com/useritems/changeicon.asp

--
Regards,
Ramesh



"Lee C." <ChestnutLee[NO > wrote in message
...
This is a minor matter, but I tend to get stubborn when I can't get
something to work that I think ought to work. But, after several hours of
tinkering around, I decided I'd better ask my betters.

I'm multibooting WIN 98, 2000 (pro), and XP (pro); sharing the
''MyDocuments'' folder between them as d:\documents

WIN 98, as default behavior, assigns a specialty icon to this folder (the
one that appears on the desktop in the other two systems); neither of the
other two OSs use the special icon. XP will, however, show the icon if the
folder is set ''read only''. Problem is that the folder loses the set
attributes when I reboot into either WIN 98 or 2000, and the icon is gone
again next time I'm in XP.

I figure, after some fussing around with it, that this has something to do
with the ''desktop.ini'' file. It appears that perhaps WIN 2000 doesn't
think there needs be a desktop.ini file at all, and the one that's in there
now has been re-written by either 98 or XP or both, and I'm not sure which
of the lines in that file were provided by which OS. What exactly the
originals read like I don't know.

Quaere then: Is there a way to assign an icon to the My Documents folder
from within the XP registry?

Lee C.
December 5th 03, 10:34 PM
I appreciate the thought, but that program works by altering the =
''desktop.ini'' files, which leads us back to the incompatibility of =
commands problem between the various operating systems I use at various =
times. To quote the readme file from that app, ''For some special =
Windows folders (like Offline Web Pages, History,
etc...), icons names are not shown correctly. However, these folders
cannot be modified by Change Icon.''

The ''My Documents'' folder is one of those that cannot be thusly =
modified I believe. The question was whether was a way to assign an =
icon in the registry (and thus hopefully override any ''desktop.ini'' =
attempts to set an icon.

"Ramesh" > wrote in message =
...
> Lee,
>=20
> Change Icon - Utility
> http://www.pcworld.com/downloads/file_description/0,fid,7028,00.asp
>=20
> If you want to manually change the icon, edit the "desktop.ini" file =
in that
> particular folder;
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
> [.ShellClassInfo]
> IconFile=3DC:\WINDOWS\system32\SHELL32.dll
> IconIndex=3D22
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> Change the IconIndex to match your favorite icon. To know the icons
> available under shell32.dll, use change icon for any other shortcut =
file.
>=20
>=20
> For Drives:
> Change Drive Name and Icon
> http://www.winguides.com/registry/display.php/912/
>=20
> http://www.codeproject.com/useritems/changeicon.asp
>=20
> --=20
> Regards,
> Ramesh
>
>=20
>=20
> "Lee C." <ChestnutLee[NO > wrote in message
> ...
> This is a minor matter, but I tend to get stubborn when I can't get
> something to work that I think ought to work. But, after several =
hours of
> tinkering around, I decided I'd better ask my betters.
>=20
> I'm multibooting WIN 98, 2000 (pro), and XP (pro); sharing the
> ''MyDocuments'' folder between them as d:\documents
>=20
> WIN 98, as default behavior, assigns a specialty icon to this folder =
(the
> one that appears on the desktop in the other two systems); neither of =
the
> other two OSs use the special icon. XP will, however, show the icon =
if the
> folder is set ''read only''. Problem is that the folder loses the set
> attributes when I reboot into either WIN 98 or 2000, and the icon is =
gone
> again next time I'm in XP.
>=20
> I figure, after some fussing around with it, that this has something =
to do
> with the ''desktop.ini'' file. It appears that perhaps WIN 2000 =
doesn't
> think there needs be a desktop.ini file at all, and the one that's in =
there
> now has been re-written by either 98 or XP or both, and I'm not sure =
which
> of the lines in that file were provided by which OS. What exactly the
> originals read like I don't know.
>=20
> Quaere then: Is there a way to assign an icon to the My Documents =
folder
> from within the XP registry?
>=20
>

Google