delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/21/00:13:25

X-Spam-Check-By: sourceware.org
Message-ID: <BAY125-F34F7E18C7A5BC7EC32E290B5370@phx.gbl>
X-Sender: karlm30 AT hotmail DOT com
In-Reply-To: <20070521012159.GB22860@ednor.casa.cgf.cx>
From: "Karl M" <karlm30 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How to uniformly point to the root of a drive?
Date: Sun, 20 May 2007 21:12:47 -0700
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hi Christopher...

>From: Christopher Faylor Subject: Re: How to uniformly point to the root of 
>a drive?
>Date: Sun, 20 May 2007 21:21:59 -0400
>
>On Sun, May 20, 2007 at 05:39:21PM -0700, Karl M wrote:
> >Hi All...
> >
> >>From: Christopher Faylor Subject: Re: How to uniformly point to the root
> >>of a drive?
> >>Date: Sun, 20 May 2007 13:36:16 -0400
> >>
> >>On Sun, May 20, 2007 at 01:27:05PM -0400, Christopher Faylor wrote:
> >>>So it sounds like Brian's method would work then wouldn't it?
> >>
> >>Does this give you what you want, too?
> >>
> >>driveroot=$(cygpath $(cygpath -wm /)/..)
> >>
> >What is the difference between "cygpath -m ..." and "cygpath -wm ..."
>
>Come on!  Read the fine manual.
>
It is indeed a fine manual. I did look and -w and -m look to be mutually 
exclusive in thier use, but I did find scripts that use -wm, thus my 
question.

Thanks,

...Karl

_________________________________________________________________
PC Magazine’s 2007 editors’ choice for best Web mail—award-winning Windows 
Live Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507


--
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