This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Beginnings of a patch: /etc/hosts


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@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]