delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/07/03:52:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 7 Aug 2001 09:43:04 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: create a "real" windows shortcut ??
Message-ID: <20010807094304.E22015@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200108070726 DOT DAA12671 AT ns1 DOT das DOT harvard DOT edu>
Mime-Version: 1.0
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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019