Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-24-2005, 10:47 AM   #1
Member (8 bit)
 
Star-Com's Avatar
 
Join Date: Feb 2004
Posts: 192
How to copy folders along with their icons?

When i copy folders from a CD/ROM to the hard disk, say into the My Documents folder, the copies are transferred ok;
apart from the fact that the folders' icons (on the CD/ROM) are not copied,
[I mean the icons you can set by : right-click on a folder - Properties-Customize-Folders icons-Change Icon].
So the folders copied into My Documents just retain their default icons.
How can i copy folders from CD to hard disk, along with their icons?
__________________
Operating System : Windows XP Professional Edition, [Service Pack 3]
Web Browser : Internet Explorer 8


When you are courting a nice girl an hour seems like a second.
When you sit on a red-hot cinder a second seems like an hour. That's relativity.

Albert Einstein
Star-Com is offline   Reply With Quote
Old 11-24-2005, 11:35 AM   #2
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Why does it happen?
When you customize a folder with an icon called desktop.ini gets created within the folder itself with info like this
Quote:
[.ShellClassInfo]
IconFile=\this\is\the\path\file.dll
IconIndex=13
As you can see if the icon library (file.dll) is on the CD or something non specific that is not universal it will not work.
When you copy the folder, even if you copy the icon library file.dll it will usually will not work because the path has changed. The only workaround was if the CD author had used common XP system icons from common system icon libraries something like
IconFile=%SystemRoot%\system32\SHELL32.dll
is more generic.

An easy way to get back your folder icons back is to
(a) turn off "Hide protected operating system files from folder options > view tab
(b) open desktop.ini from the folders and point it to the icon library with the correct path.
Or if all the folder icons are same, you could customize one such folder and then copy desktop.ini to all the folders.

If you are interested in doing one of the above, post back here there are a couple more nuances that will help .. I can type it out depending on what you're trying to do... its wasteful if all you're doing is trying to find out why?

HTH

Last edited by Statica; 11-24-2005 at 12:39 PM. Reason: Corrected it to adjust for php not displaying \
Statica is offline   Reply With Quote
Old 11-24-2005, 12:37 PM   #3
Member (14 bit)
Premium Member
 
TwoRails's Avatar
 
Join Date: Jan 2002
Location: The Great NorthWest
Posts: 12,594
That's a pretty informative post, Statica; it might make a good "Tip of the Day!"
TwoRails is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:11 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2