dbminter Posted October 26, 2005 Share Posted October 26, 2005 (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 October 26, 2005 by dbminter Link to comment Share on other sites More sharing options...
LIGHTNING UK! Posted October 26, 2005 Share Posted October 26, 2005 ExtractAssociatedIcon Windows API is supposed to work.... but it doesn't Link to comment Share on other sites More sharing options...
dbminter Posted October 26, 2005 Author Share Posted October 26, 2005 Oh, that helps a lot then! Link to comment Share on other sites More sharing options...
lfcrule1972 Posted October 27, 2005 Share Posted October 27, 2005 I can't believe your still cursed with your PC db !! Link to comment Share on other sites More sharing options...
dbminter Posted October 27, 2005 Author Share Posted October 27, 2005 I can't believe your still cursed with your PC db !! Care to curse me with yours, then,lfc? Link to comment Share on other sites More sharing options...
Robinud Posted November 5, 2005 Share Posted November 5, 2005 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 Link to comment Share on other sites More sharing options...
Recommended Posts