custom icon for batch file

Started by
1 comment, last by Kommi10 18 years, 3 months ago
I am a java programmer who wrote a batch file to launch my java application. My question is the following... how can I make a batch file that utilizes an icon that I created. is that possible? How is this done then? How is an exe file assosiated with an icon?
Advertisement
You cannot change the icon of an individual batch file, as far as I know. It would require changing the icon of batch files in general, which is probably not what you want. You can however create a shortcut to the batch file and change the icon of the shortcut as you please; that would at least give a more professional look to the application. The icon should then be stored as a separate .ico or .bmp file. Windows .exe files have their icons usually embedded into the executable as a resource, which is why you can browse exes and dlls for icons.

Illco
Thanks, that should do the trick

This topic is closed to new replies.

Advertisement