Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <3F95C2ED.EFB00C74@dessent.net> Date: Tue, 21 Oct 2003 16:36:13 -0700 From: Brian Dessent Organization: My own little world... X-Accept-Language: en,en-US MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: pwd option to return windows path References: <20031021230957 DOT GA1071 AT mdssirds DOT comp DOT pge DOT com> <20031021232613 DOT GB7132 AT redhat DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.linuxsv3.net X-AntiAbuse: Original Domain - cygwin.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dessent.net Note-from-DJ: This may be spam Christopher Faylor wrote: > >I've been using a hack through the environmental variable !C: > >(provided by tcsh) and pwd in order to return a windows32 path > >(ie: C:/cygwin/...) > > > >There's *got* to be a better way to do this. Is there a switch to pwd > >that returns a windows path instead of a unix one? Or, if not, > >what's the proper way to do this? > > There is no option. If your "terse cgf reply decoder ring" has not yet arrived, you may be interested in "man cygpath", e.g. "cygpath -w `pwd`". Brian -- 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/