Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a load of .bat files that I want to give custom .ico images (could be any other format, but I expect Windows Vista wants .ICOs). How do I add specific .ico images to files in Windows Vista?

I can't find a 'change icon' button or anything under the properties for the file. I know you can do this for folders, but is it possible for files?

I do not wish to change the icon for all batch files, but change the icon for each one individually. Thus file1.bat would have icon1.ico and file2.bat would have anotherIcon.ico

I'm using Windows Vista Ultimate (but I expect that this should be possible in each version?)

share|improve this question
up vote 5 down vote accepted

Put all your bat and ico files in a production folder then create shortcuts to the individual bat files in your launch folder (i.e. desktop, startmenu).

Then right click each shortcut and select properties to set icons.

share|improve this answer
Thanks, that's a great idea. However not perfect :( hope there is another way (as this is not really portable)) – Pim Jager Aug 23 '09 at 22:01
+1 I don't thing there are other options – fretje Aug 23 '09 at 22:12
If you have the skills or are feeling brave to learn, you could recode your scripts in Python and then use the py2exe utility to attach an icon to your new exe file check out for a tut. – Duey Aug 24 '09 at 10:41
Okay, thanks. To bad there is no other way, but this will do for now. – Pim Jager Aug 26 '09 at 11:07
No, there is no way to add an icon to a batch file because it is really nothing more than a plain-text file. – Synetech Jul 3 '11 at 3:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.