This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: create a "real" windows shortcut ??


On Tue, Aug 07, 2001 at 03:26:30AM -0400, George Planansky wrote:
> How to create a windows shortcut to a file,
> under cygwin?
> 
> E.g., I'd like to create a 
> desktop shortcut to a /usr/local/bin/backup.bat file, 
> which:
> 
> 1. when clicked on by the user on the desktop,
> will run /usr/local/bin/backup.bat .
> 
> 2. will open /usr/local/bin/backup.bat in wordpad,
> so the user can edit that file.
> 
> using ln -s  ..., I can get (1) but not (2) to work.

You can't. What happens on (2)? Does it start notepad?
You'll have to change the association of the .bat suffix
to wordpad in Windows.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]