DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: How to extract icon of a folder?  (Read 7,151 times)

sri

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 689
How to extract icon of a folder?
« on: August 18, 2008, 03:39 AM »
I found several software that extracts icons from dlls and exes, but none that would extract an icon of a specified folder itself. I want to get the .ico file of a specific folder. Any ideas? I have already looked in %SystemRoot%\system32\SHELL32.dll and it's not in there.

VideoInPicture

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 467
    • Coding Snacks
Re: How to extract icon of a folder?
« Reply #1 on: August 18, 2008, 04:10 AM »
I would like to know two, preferably with a code sample so that I can incorporate in into Circle Dock. However, the extracted icon will be a maximum of 126x126 in size which might not look good blown up. I can extract icons for all regular files and folders but I can't get the thumbnail preview icon of a folder.
Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
Re: How to extract icon of a folder?
« Reply #2 on: August 18, 2008, 09:57 AM »
Icons from File (freeware).

Drag the folder in question into the "Icons from File" window and then either copy the icon or save to file.

[attach]

sri

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 689
Re: How to extract icon of a folder?
« Reply #3 on: August 18, 2008, 11:55 AM »
Thanks Phil. Works fine.

Original address: https://www.donationcoder.com/forum/index.php?topic=14452.0