Glam Prestige Journal

Bright entertainment trends with youth appeal.

I have a file of type *.xyz that has a nice icon. I would like to set that icon as the icon for a shortcut on my desktop. However, the "change icon" option in the properties dialog can only extract icons from .dlls, .exes, and .icos. I have had no luck finding the .dll/.exe/.ico from which this file's icon originates.

How can I find the resource containing the icon used for a particular file extension?

5 Answers

if you are familiar with the registry, that info is stored under HKEY_CLASSES_ROOT

  1. open regedit (don't mess around and change anything)
  2. there will be a list of folders in the treeview on the left, click on the one that is called "HKEY_CLASSES_ROOT". look through that long list for the extension .xyz
  3. when you click on it, the filetype will be listed.
  4. now search down the list under HKEY_CLASSES_ROOT until you find that type
  5. under that type will be a folder called DefaultIcon where you will find the icon used
2

Use IrfanView, one of the more useful free programs on the web.

Install it, run it, and drag the .exe onto IrfanView's window.

The icon will show up in the IrfanView screen. If there are multiple icons, you can page through them by clicking the DOWN arrow on the menu bar at the top of the IrfanView screen.

You can save an icon to a separate file using File -> Save As. You can export all of them using OPTIONS -> EXTRACT_ALL_FRAMES. Try different file types for the best resolutions. .ICO file type is a good place to start.

I just extracted about 50 icons from a Windows 3.1 executable in about 1 second.

IconsExtract can do this for you.

3

Maybe IconViewer is what you're looking for.

have you tried resource hacker or resource tuner ... this might help too : Change the Default Icon of an Exe

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy