I want set icon to my folder in My external hard drive but when I change it (by right click on it and -> properties -> customize -> change icon (i address the icon from my extenal hard drive)) it just change in my windows and when plug my extenarnal-hard to another windows it's don't show my icon! how should fix this?

P.S: is there a way to set icon for folder show in all os (linux, windows, OSX, ..)


note: I don't want set icon to 1 drive > I want set icon to all my folder in my > drive.


Methinks Am1rr3zA is dead serious when he wants to set icons for ALL his FOLDERS in his drive.

  1. Refer to Harrymc's post on using the desktop.ini for setting the folder icon.
  2. Copy this desktop.ini and the .ico file to ALL folders. Every single folder must have this two files. (use a recursive copy batch file - you might want to google for that)
  3. To set a different icon for that folder, just overwrite the .ico in that particular folder with the desired one (must be same name as the referenced icon in that folder's desktop.ini).

Now this will work for Windows, and i suspect it'll need a certain degree of maintenance for this kind of OCD folder vanity (desktop.inis get overwritten by easily, unless you mark as Read-Only for all these desktop.inis and .ico files)

As to your "P.S: is there a way to set icon for folder show in all os (linux, windows, OSX, ..)" question - yes, there is a way, but it involves several multiple steps that is simply too long to be answered here.


You have to create a autorun.inf file in the root of the hard drive.

[autorun]
icon=path\to\icon.ico

For example, if your drive is E:\ and your icon is at E:\icons\myicon.ico, you would create a file in notepad that looks like this:

[autorun]
icon=icons\myicon.ico

And save it as E:\autorun.inf. (Remember to select All Files in the Save As dialog.)

The icon file has to be on the drive, so that it can be transferred between other computers along with the drive.