How to assign icon for batch file

  • Thread starter Thread starter robert.dodier
  • Start date Start date
R

robert.dodier

Hello all,

Sorry for what must be a FAQ. I've searched the web and newsgroups
for this topic but I can't find anything to specifically address my
problem
in the 100's of links that I found.

I have created a .bat file which I'm including in a zip file.
The default icon for .bat files is pretty ugly, so I'd like
to replace it with something else. How can I change the icon?
I want to change the icon before I create the zip file, so that
anyone who unpacks it will see the new icon.

Thanks for any information,

Robert Dodier
 
Create a shortcut to the .bat file.
Right click the shortcut | Shortcut tab | Change Icon button

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Wesley said:
Create a shortcut to the .bat file.
Right click the shortcut | Shortcut tab | Change Icon button

Hi Wesley, thanks for your help. When I do that, I find that
the absolute path for the batch file is embedded in the shortcut.
So if that were packaged into a zip file, it wouldn't work when
unpackaed unless it were unpacked into the same location,
which I don't want to require.

Is there a way to make a relative path in a shortcut?

Thanks again for your help,
Robert Dodier
 
Back
Top