Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Tue, 7 Aug 2001 09:43:04 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: create a "real" windows shortcut ??
Message-ID: <20010807094304.E22015@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <200108070726.DAA12671@ns1.das.harvard.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200108070726.DAA12671@ns1.das.harvard.edu>; from george_planansky@harvard.edu on Tue, Aug 07, 2001 at 03:26:30AM -0400

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/

