delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/21/19:41:13

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
Message-ID: <3F95C2ED.EFB00C74@dessent.net>
Date: Tue, 21 Oct 2003 16:36:13 -0700
From: Brian Dessent <brian AT dessent DOT net>
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>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019