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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 24 Oct 2002 14:18:31 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Joshua Daniel Franklin cc: cygwin AT cygwin 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?) In-Reply-To: <20021024163033.23183.qmail@web20006.mail.yahoo.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 24 Oct 2002, Joshua Daniel Franklin wrote: > --- Igor Pechtchanski 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. You are absolutely correct. I apologize for the misinformation. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- 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/