In this simple and fun tutorial we are going to make an icon for CD and USB Flash in windows:
First you must create an autorun.inf file with notepad.
Now in this file copy and paste this code:
then you must copy your icon in USB or CD root and name it Icon.ico or change the code like your icon name and if you want to run an app automaticaly you must copy it to your USB or CD root and name it appname.exe or change the code to your file name and it's over!
but you should remember that it's better to use .ico file insted of .png files for your icon image. you can use blew sites to change png files to ico file.
now eject your USB flash or CD and insert it again.
You will see icon is changed!