This is the mail archive of the
mailing list for the Cygwin project.
Re: How to create a windows link in script?
- From: Joshua Franklin <joshuadfranklin at yahoo dot com>
- To: cygwin at cygwin dot com
- Cc: roland at steeltorch dot com, rrschulz at cris dot com
- Date: Tue, 19 Feb 2002 16:05:06 -0800 (PST)
- Subject: Re: How to create a windows link in script?
> I would like to be able to create a .lnk file to a
> batch file (and ideally associate an icon with it)
> from a bash script on a Windows 2000 machine.
I've written a program that does just this. It's a
fully scriptable and can set icons. I'm
hoping to get it included in cygwin sometime, but
I'm waiting until the new setup.exe comes out to
bother developers with it. In the meantime, you can
get it at:
The archive is around 10K, source, (stripped) binary,
and some examples included. I'd also love some
feedback on possible improvements--or from anyone on
Win9x since I've got a setup like Randall's (Win2k,
NTFS, etc.) The MS docs say it the calls should work
on any windows, but you know...
I've not had any weird permission problems, though
figuring out whether folders on the Desktop exist only
for the current user or for all users can be tricky.
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html