delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/11/04:45:27

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
Date: Wed, 11 Sep 2002 10:45:06 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Beginnings of a patch: /etc/hosts
Message-ID: <20020911104506.O1574@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0209101519230 DOT 1269-300000 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT LNX DOT 4 DOT 44 DOT 0209110900120 DOT 3914-100000 AT gateway DOT morrison>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.44.0209110900120.3914-100000@gateway.morrison>
User-Agent: Mutt/1.3.22.1i

On Wed, Sep 11, 2002 at 09:03:11AM +0100, John Morrison wrote:
> 
> cygpath -S "output system directory and exit" returns
> /cygdrive/c/WINNT/system32 for me.
> 
> Would this work under 9x/ME?

cygpath -W is the better choice.

  $ uname -s
  CYGWIN-98-4.10
  $ cygpath -S
  /cygdrive/c/WINDOWS/SYSTEM
  $ cygpath -W
  /cygdrive/c/WINDOWS

but that's ok for NT/2K/XP as well.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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