how to extract icon from my exe

Let's say I have written a program and it has got an icon embedded in it as a resource. I would like to extract this icon from this exe and create it on the computer every time it runs. So my exe has to create new icon and use an icon from its resource as the source of this icon. How can I do Icon was just an example, I'm interesting in extracting any file which is embedded in the resource. Thanks


Answer this question

how to extract icon from my exe