delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/24/12:36:55

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: <20021024163033.23183.qmail@web20006.mail.yahoo.com>
Date: Thu, 24 Oct 2002 09:30:33 -0700 (PDT)
From: Joshua Daniel Franklin <joshuadfranklin AT yahoo DOT com>
Subject: Re: Meaningful Windows locations and cygpath (Was Re: Is it possible to copy a file from anywhere to My Documents with bash cp?)
To: cygwin AT cygwin DOT com
In-Reply-To: <Pine.GSO.4.44.0210241052290.13770-100000@slinky.cs.nyu.edu>
MIME-Version: 1.0

--- Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> wrote:
> On Thu, 24 Oct 2002, Joshua Daniel Franklin wrote:
> > http://cygwin.com/cygwin-ug-net/using-utils.html#CYGPATH
> >
> > "On Win9x systems with only a single user, -A has no effect; -D and -AD
> > would have the same output. "
> 
> What I meant, however, was that I'll look into the fix (this really isn't
> correct behavior, as even with a single user there are the All Users
> directories on Win98).  If the API calls don't return the right values, we
> should guess, or something...

Well, I may be wrong, but I believe that the "All Users" directory is
only used if you set up "User Profiles". It exists if you don't, but isn't
used. Unfortunately I no longer have Win98 installed (did I say
*un*fortunately?!) so I'm not going to be able to verify this.

If we guessed at it, using for example 

cp myfile "$(cygpath -AD)"

would not really copy a file to the Desktop on Win98, though it would on
WinNT/2000/XP. That's kinda the point of the -A switch.

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

--
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