Jump to content

Icons associated with files?


Recommended Posts

Posted (edited)

I need a way to find the file icon or the file containing an icon for a file association. In this case, the icon associated with diskmgmt.msc in c:\windows\system32. The Disk Management plug in for MMC, aka Computer Management. Normally, I'm used to icons being separate files, .ICO, in .EXE's or in DLL's. This case, I don't know where it is. A shortcut to this file gives it an icon that's not in SHELL32.DLL, etc. nor in the Microsoft Management Console that calls the MSC file. There are no icons in the MSC file that IconShop could find and trying to load it in the shortcut to get the icon returns that it has no icons. So, I can only guess that the particular file name is associated with an icon. .MSC is associated, in File Types, with an entirely different icon because that association is for the .EXE.

 

 

Any ideas?

 

 

EDIT: Found it totally by accident. Accidentally clicked on the wrong DLL to get another icon. But, my question still stands. :) Is there a convenient way to find them?

Edited by dbminter
  • 2 weeks later...
Posted

open diskmgmt.msc with notepad and search for string "Icon index", it'll point to index (0) of dmdskres.dll that is res dll containing icon for this

 

ciao

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.