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 Message-ID: <20021024163033.23183.qmail@web20006.mail.yahoo.com> Date: Thu, 24 Oct 2002 09:30:33 -0700 (PDT) From: Joshua Daniel Franklin 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: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- 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. __________________________________________________ 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/