| www.delorie.com/archives/browse.cgi | search |
| 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 |
| X-Authentication-Warning: | ginger.cc.utexas.edu: grouse owned process doing -bs |
| Date: | Mon, 17 Sep 2001 18:05:56 -0500 (CDT) |
| From: | Michael Hoffman <grouse AT mail DOT utexas DOT edu> |
| To: | anoop AT alumni DOT duke DOT edu |
| cc: | cygwin AT cygwin DOT com |
| Subject: | Re: using aliases for cygwin commands on win2k |
| In-Reply-To: | <20010917225406.95591.qmail@web11106.mail.yahoo.com> |
| Message-ID: | <Pine.A41.4.21.0109171757470.25698-100000@ginger.cc.utexas.edu> |
| MIME-Version: | 1.0 |
On Mon, 17 Sep 2001, Anoop Ghanwani wrote: > --- Robert Collins <robert DOT collins AT itdomain DOT com DOT au> wrote: ... > > Run bash/tcsh/ksh. Do not run cmd.exe. ... > If I do that, I lose the ability to start applications > automatically by simply typing the file name. For example, > if I have a file try.doc, and I type try.doc at the Windows > 2000 command prompt, it brings up Word with that document. Put the following two lines into /usr/local/bin/start: #!/bin/sh cmd /c start `cygpath -w $*` Then, chmod a+x /usr/local/bin/start Now you can do this: $ start try.doc Or my personal favorite: $ start . [opens the current directory in an explorer window] Voila. -- Michael Hoffman <grouse AT mail DOT utexas DOT edu> The University of Texas at Austin -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |