X-Spam-Check-By: sourceware.org Date: Sun, 20 May 2007 21:21:59 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: How to uniformly point to the root of a drive? Message-ID: <20070521012159.GB22860@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20070520173616 DOT GA9531 AT ednor DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.14 (2007-02-12) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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. cgf -- 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/