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: Meaningful Windows locations and cygpath (Was Re: Is it possibleto copy a file from anywhere to My Documents with bash cp?)


On Thu, 24 Oct 2002, Joshua Daniel Franklin wrote:

> --- Igor Pechtchanski <pechtcha@cs.nyu.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.

You are absolutely correct.  I apologize for the misinformation.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


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