delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/13/14:18:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: sphinx.got.net: www-data set sender to tmp AT i DOT am using -f
Message-ID: <1031941052.3d822bbc86313@webmail.got.net>
Date: Fri, 13 Sep 2002 11:17:32 -0700
From: tmp AT i DOT am
To: cygwin AT cygwin DOT com
Subject: Re: command to open Windows Explorer window "here"?
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.0
X-Originating-IP: 198.202.174.141

Randall wrote:
> ... when this question came up a little while back (subtle
> enough for ya'?), someone mentioned "cygstart" ...

Hey wow, an FSF-related mailing list search function that
doesn't take 5 minutes to do a search!  Whaddaya know.

Sorry for the extra bandwidth.  For reference, the June
discussion about this topic had the subject
  Useful Cygwinism: "Explorer Here"
and started with
  http://sources.redhat.com/ml/cygwin/2002-06/msg01595.html


FWIW, here's what I ended up with:  two one-liner scripts in
my bin directory.  One is called "o" and looks like this:

    explorer `cygpath -w -a "${1-.}"`

it opens a one-pane explorer (no "Folders" showing).

My other script is called "oe" and adds the "/e" argument:

    explorer /e,`cygpath -w -a "${1-.}"`

This one opens a two-pane explorer, showing the Folders tree.

If I get more ambitious, someday I might perhaps figure out how
to install the cygutils package to get "cygstart".   But for now,
my cygwin doesn't seem to have it (nor does the ".inputrc" file
mentioned in the above thread have any effect at all), and these
mysteries will remain for some future, um, Exploration.

Anyway, thanks for all the help!

 -- Doug L. 


-=-=-=-

food. shelter. clothing. net.         Got.net - The Internet Connection, 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