icon pictures

  • Thread starter Thread starter Richard
  • Start date Start date
R

Richard

Is there any way to install a picture on an icon so that it is permanent?
Using the "properties\change icon" method does not hold after formatting and
has to be reset.

Richard
 
Richard said:
Is there any way to install a picture on an icon so that it is permanent?
Using the "properties\change icon" method does not hold after formatting and
has to be reset.

Using "properties\change icon" only changes the icon for the specific
object (folder, file, or shortcut).

If you want to change the icon for all objects of a certain type, go to
the menu bar on any folder window or the My Computer window. Select
[Tools > Folder Options]. On the Folder Options window, select the File
Types tab. Locate the object type and select it. Select the Advanced
button. Then you can change the icon for all objects of that type. Of
course, the icon must exist somewhere in you PC.

--

David E. Ross
<http://www.rossde.com/>

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>
 
David

That's the way I am set up now but when I format I have to enter them all
over again. I was hoping to get around that by making the pictures
permanent.. Some icons have their own permanent picture. Thanks.
 
Richard,

I'm a little confused by the terminology you are using. When you assign a custom icon to a folder,
that information is stored in the desktop.ini file within the folder. If you format and erase the
folder, the icon info goes with it. If you are backing up & then restoring the folder after a
format, check to see if the desktop.ini file still exists and contains info similar to the
following:

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=41

If it does and the folder is not showing your custom icon, it is most likely caused by the loss of
the read-only attribute for the folder. Use the 'attrib' command from a command prompt window to
restore it.

If you are changing icons for various file extensions, that information is stored in the registry.
If you want to retain those customizations after a format, you need to export the relevant registry
entries from the customized setup and then merge those settings into the new registry created after
a format.
 
I am assigning a icon to a short cut. After formatting the hard drive I have
to re install all the icons to the short cuts. I am trying to find a way
around that by making the pictures on the short cuts permanent.

Richard

Keith Miller MVP said:
Richard,

I'm a little confused by the terminology you are using. When you assign a
custom icon to a folder, that information is stored in the desktop.ini
file within the folder. If you format and erase the folder, the icon info
goes with it. If you are backing up & then restoring the folder after a
format, check to see if the desktop.ini file still exists and contains
info similar to the following:

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=41

If it does and the folder is not showing your custom icon, it is most
likely caused by the loss of the read-only attribute for the folder. Use
the 'attrib' command from a command prompt window to restore it.

If you are changing icons for various file extensions, that information is
stored in the registry. If you want to retain those customizations after a
format, you need to export the relevant registry entries from the
customized setup and then merge those settings into the new registry
created after a format.


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


Richard said:
David

That's the way I am set up now but when I format I have to enter them all
over again. I was hoping to get around that by making the pictures
permanent.. Some icons have their own permanent picture. Thanks.
 
I guess to further explain this I am looking to have a picture on the icon
that is not linked. Maybe this is not possible.

Richard

Richard said:
I am assigning a icon to a short cut. After formatting the hard drive I
have to re install all the icons to the short cuts. I am trying to find a
way around that by making the pictures on the short cuts permanent.

Richard

Keith Miller MVP said:
Richard,

I'm a little confused by the terminology you are using. When you assign
a custom icon to a folder, that information is stored in the desktop.ini
file within the folder. If you format and erase the folder, the icon
info goes with it. If you are backing up & then restoring the folder
after a format, check to see if the desktop.ini file still exists and
contains info similar to the following:

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=41

If it does and the folder is not showing your custom icon, it is most
likely caused by the loss of the read-only attribute for the folder. Use
the 'attrib' command from a command prompt window to restore it.

If you are changing icons for various file extensions, that information
is stored in the registry. If you want to retain those customizations
after a format, you need to export the relevant registry entries from the
customized setup and then merge those settings into the new registry
created after a format.


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


Richard said:
David

That's the way I am set up now but when I format I have to enter them
all
over again. I was hoping to get around that by making the pictures
permanent.. Some icons have their own permanent picture. Thanks.



Is there any way to install a picture on an icon so that it is
permanent? Using the "properties\change icon" method does not hold
after formatting and has to be reset.

Richard
 
Different icons for each shortcut?

Are you backing up and then restoring the shortcuts as well as whatever file contains the icon for
the shortcut?

Shortcuts can be created and modified via VB Script. If this is something you need to do
frequently, perhaps you should consider that approach.

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


Richard said:
I guess to further explain this I am looking to have a picture on the icon that is not linked.
Maybe this is not possible.

Richard

Richard said:
I am assigning a icon to a short cut. After formatting the hard drive I have to re install all the
icons to the short cuts. I am trying to find a way around that by making the pictures on the short
cuts permanent.

Richard

Keith Miller MVP said:
Richard,

I'm a little confused by the terminology you are using. When you assign a custom icon to a
folder, that information is stored in the desktop.ini file within the folder. If you format and
erase the folder, the icon info goes with it. If you are backing up & then restoring the folder
after a format, check to see if the desktop.ini file still exists and contains info similar to
the following:

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=41

If it does and the folder is not showing your custom icon, it is most likely caused by the loss
of the read-only attribute for the folder. Use the 'attrib' command from a command prompt
window to restore it.

If you are changing icons for various file extensions, that information is stored in the
registry. If you want to retain those customizations after a format, you need to export the
relevant registry entries from the customized setup and then merge those settings into the new
registry created after a format.


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


David

That's the way I am set up now but when I format I have to enter them all
over again. I was hoping to get around that by making the pictures
permanent.. Some icons have their own permanent picture. Thanks.



Is there any way to install a picture on an icon so that it is permanent? Using the
"properties\change icon" method does not hold after formatting and has to be reset.

Richard
 
I have the icons dumped in Windows\system32 and have pointed Change Icon to
that location. I have been using a program called Pinnacle and it seems to
like to crash out of control fairly often resulting in re formatting the
drive. I can't seem to find another was out when it gets really bad.

I never thought of VB Script in Visual Basic 6 so will have to look into it.
A good winter project.

Thanks


Keith Miller MVP said:
Different icons for each shortcut?

Are you backing up and then restoring the shortcuts as well as whatever
file contains the icon for the shortcut?

Shortcuts can be created and modified via VB Script. If this is something
you need to do frequently, perhaps you should consider that approach.

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


Richard said:
I guess to further explain this I am looking to have a picture on the icon
that is not linked. Maybe this is not possible.

Richard

Richard said:
I am assigning a icon to a short cut. After formatting the hard drive I
have to re install all the icons to the short cuts. I am trying to find a
way around that by making the pictures on the short cuts permanent.

Richard

Richard,

I'm a little confused by the terminology you are using. When you
assign a custom icon to a folder, that information is stored in the
desktop.ini file within the folder. If you format and erase the
folder, the icon info goes with it. If you are backing up & then
restoring the folder after a format, check to see if the desktop.ini
file still exists and contains info similar to the following:

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=41

If it does and the folder is not showing your custom icon, it is most
likely caused by the loss of the read-only attribute for the folder.
Use the 'attrib' command from a command prompt window to restore it.

If you are changing icons for various file extensions, that information
is stored in the registry. If you want to retain those customizations
after a format, you need to export the relevant registry entries from
the customized setup and then merge those settings into the new
registry created after a format.


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


David

That's the way I am set up now but when I format I have to enter them
all
over again. I was hoping to get around that by making the pictures
permanent.. Some icons have their own permanent picture. Thanks.



Is there any way to install a picture on an icon so that it is
permanent? Using the "properties\change icon" method does not hold
after formatting and has to be reset.

Richard
 
Richard said:
I have the icons dumped in Windows\system32 and have pointed Change Icon to
that location. I have been using a program called Pinnacle and it seems to
like to crash out of control fairly often resulting in re formatting the
drive. I can't seem to find another was out when it gets really bad.

I never thought of VB Script in Visual Basic 6 so will have to look into it.
A good winter project.

Thanks


Keith Miller MVP said:
Different icons for each shortcut?

Are you backing up and then restoring the shortcuts as well as whatever
file contains the icon for the shortcut?

Shortcuts can be created and modified via VB Script. If this is something
you need to do frequently, perhaps you should consider that approach.

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


Richard said:
I guess to further explain this I am looking to have a picture on the icon
that is not linked. Maybe this is not possible.

Richard

I am assigning a icon to a short cut. After formatting the hard drive I
have to re install all the icons to the short cuts. I am trying to find a
way around that by making the pictures on the short cuts permanent.

Richard

Richard,

I'm a little confused by the terminology you are using. When you
assign a custom icon to a folder, that information is stored in the
desktop.ini file within the folder. If you format and erase the
folder, the icon info goes with it. If you are backing up & then
restoring the folder after a format, check to see if the desktop.ini
file still exists and contains info similar to the following:

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=41

If it does and the folder is not showing your custom icon, it is most
likely caused by the loss of the read-only attribute for the folder.
Use the 'attrib' command from a command prompt window to restore it.

If you are changing icons for various file extensions, that information
is stored in the registry. If you want to retain those customizations
after a format, you need to export the relevant registry entries from
the customized setup and then merge those settings into the new
registry created after a format.


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


David

That's the way I am set up now but when I format I have to enter them
all
over again. I was hoping to get around that by making the pictures
permanent.. Some icons have their own permanent picture. Thanks.



Is there any way to install a picture on an icon so that it is
permanent? Using the "properties\change icon" method does not hold
after formatting and has to be reset.

Richard

Reformatting a hard drive seems to be quite extreme for correcting your
problems.

I suspect a shortcut's pointer to its icon is contained within the
shortcut. When I open a shortcut in a hex editor (the shortcut itself,
not its target), I see a path to the shortcut's icon. Thus, when you
reformat and wipe out your shortcuts, you also wipe out the pointers to
the icons.

If reformatting is your only recourse, first backup just your shortcuts
(identified as files with the .lnk extension) onto some other medium.
After reformatting, restore your shortcuts. This will only work,
however, if your icons are not on the disc that was reformatted unless
you also backed-up your icons.

In my own case, I extract icons from various .exe, .dll, and other
executables and save them, either individually as .ico files or grouped
in dummy .dll files. All these icons are together -- along with icons
(.ico files) that I created myself -- in an icon folder. I backup my
icon folder regularly.

--

David E. Ross
<http://www.rossde.com/>

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>
 
Thanks for your help.

I guess another thing is that when I take my short cuts with me on a disc
and use it on another machine I loose the convenience..

However no big deal I guess. I was just looking for a easy way to make a one
stop change. Thanks again.

Richard

David E. Ross said:
Richard said:
I have the icons dumped in Windows\system32 and have pointed Change Icon
to that location. I have been using a program called Pinnacle and it
seems to like to crash out of control fairly often resulting in re
formatting the drive. I can't seem to find another was out when it gets
really bad.

I never thought of VB Script in Visual Basic 6 so will have to look into
it. A good winter project.

Thanks


Keith Miller MVP said:
Different icons for each shortcut?

Are you backing up and then restoring the shortcuts as well as whatever
file contains the icon for the shortcut?

Shortcuts can be created and modified via VB Script. If this is
something you need to do frequently, perhaps you should consider that
approach.

--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


I guess to further explain this I am looking to have a picture on the
icon that is not linked. Maybe this is not possible.

Richard

I am assigning a icon to a short cut. After formatting the hard drive
I have to re install all the icons to the short cuts. I am trying to
find a way around that by making the pictures on the short cuts
permanent.

Richard

Richard,

I'm a little confused by the terminology you are using. When you
assign a custom icon to a folder, that information is stored in the
desktop.ini file within the folder. If you format and erase the
folder, the icon info goes with it. If you are backing up & then
restoring the folder after a format, check to see if the desktop.ini
file still exists and contains info similar to the following:

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=41

If it does and the folder is not showing your custom icon, it is most
likely caused by the loss of the read-only attribute for the folder.
Use the 'attrib' command from a command prompt window to restore it.

If you are changing icons for various file extensions, that
information is stored in the registry. If you want to retain those
customizations after a format, you need to export the relevant
registry entries from the customized setup and then merge those
settings into the new registry created after a format.


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


David

That's the way I am set up now but when I format I have to enter
them all
over again. I was hoping to get around that by making the pictures
permanent.. Some icons have their own permanent picture. Thanks.



Is there any way to install a picture on an icon so that it is
permanent? Using the "properties\change icon" method does not hold
after formatting and has to be reset.

Richard

Reformatting a hard drive seems to be quite extreme for correcting your
problems.

I suspect a shortcut's pointer to its icon is contained within the
shortcut. When I open a shortcut in a hex editor (the shortcut itself,
not its target), I see a path to the shortcut's icon. Thus, when you
reformat and wipe out your shortcuts, you also wipe out the pointers to
the icons.

If reformatting is your only recourse, first backup just your shortcuts
(identified as files with the .lnk extension) onto some other medium.
After reformatting, restore your shortcuts. This will only work, however,
if your icons are not on the disc that was reformatted unless you also
backed-up your icons.

In my own case, I extract icons from various .exe, .dll, and other
executables and save them, either individually as .ico files or grouped in
dummy .dll files. All these icons are together -- along with icons (.ico
files) that I created myself -- in an icon folder. I backup my icon
folder regularly.

--

David E. Ross
<http://www.rossde.com/>

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>
 
Back
Top