How to assign icon for batch file


Go Back   Computer Help Articles > Windows XP Customize
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 06:36 AM
robert.dodier@gmail.com
 
Posts: n/a
Default How to assign icon for batch file

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

Reply With Quote
  #2  
Old 01-05-2006, 06:36 AM
Wesley Vogel
 
Posts: n/a
Default Re: How to assign icon for batch file

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 news:1134502680.090281.76680@g43g2000cwa.googlegro ups.com,
robert.dodier@gmail.com <robert.dodier@gmail.com> hunted and pecked:
> 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

Reply With Quote
  #3  
Old 01-05-2006, 06:36 AM
robert.dodier@gmail.com
 
Posts: n/a
Default Re: How to assign icon for batch file

Wesley Vogel wrote:

> 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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with old SUS client Remy G. Windows Update 2 01-05-2006 05:20 PM
Hijack problem Tom B. Windows XP Security Admin 7 01-05-2006 05:44 AM
Need help fixing virus omi Windows XP Security Admin 6 01-05-2006 05:44 AM
EGroup.IEAccess.C (dialer) dtcar Windows XP Help and Support 22 01-05-2006 02:41 AM
USB Mass Storage Device - This device cannot start. (Code 10) lobo201 Windows XP Hardware 11 01-05-2006 02:15 AM


All times are GMT. The time now is 05:39 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

How to assign icon for batch file