I\'d like to know what\'s the way to actually set the icon of a .bat
file to an arbitrary icon.
How would I go about doing that programmatically, independently of t
I'll assume you are talking about Windows, right? I don't believe you can change the icon of a batch file directly. Icons are embedded in .EXE and .DLL files, or pointed to by .LNK files.
You could try to change the file association, but that approach may vary based on the version of Windows you are using. This is down with the registry in XP, but I'm not sure about Vista.