delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/14/15:53:54

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
From: "Hannu E K Nevalainen" <garbage_collector AT telia DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Converting Dos Slashes to Unix Slashes
Date: Sun, 14 Mar 2004 21:52:24 +0100
Message-ID: <NGBBLLIAMFLGJEOAJCCEMEELDJAA.garbage_collector@telia.com>
MIME-Version: 1.0
In-Reply-To: <Pine.GSO.4.56.0403141521540.6733@slinky.cs.nyu.edu>

> From: Igor Pechtchanski
> On Sun, 14 Mar 2004, zzapper wrote:
> 
> > From
> >   man cygpath
> >
> > Look at this generically useful script
> >
> > #!/bin/sh
> > # wexp
> > # description : Launch Explorer with correct "Windows" path
> > if [ "${1}" = "" ];
> >      then
> >           XPATH=".";
> >      else
> >           XPATH="$(cygpath -w "${1}")";
> > fi
> > explorer $XPATH &
> >
> > zzapper (vim & cygwin & zsh)
> 
> Umm, why not simply use the script below?  BTW, you don't need to put
> explorer in the background - detaches from the tty itself.  Also, don't
> forget that there *are* command-line arguments for explorer, which you
> might want to pass through...
> 	Igor
> 
> #!/bin/sh
> # wexp
> # description : Launch Explorer with correct "Windows" path
> explorer "$(cygpath -w "${1:-.}")"

Even simpler:

$ cygstart /

Click on "Folders" (equal to Menu->View->Explorer Bar->Folders)


/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E

** on a mailing list; please keep replies on that particular list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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