In 2000 domain and probably .NET, active directory, group policy, user config there are 4 folders and 1 subfolder that receive special consideration from MS in domain administration
"$USERPROFILE/Application Data" "$USERPROFILE/Desktop" "$USERPROFILE/My Documents" "$USERPROFILE/My Documents/My Pictures" "$USERPROFILE/Start Menu" Each is individually redirectable to some other location but should still be accessable under "$USERPROFILE" I hope I'm not telling something already generally known. Igor Pechtchanski wrote: > > Hmm... cygpath currently has options to print the windows Documents and > Settings directory (-H), as well as the Start Menu/Programs directory > (-P). Should we add more options for the other meaningful Windows > directories (such as My Documents, for example)? What other special names > should we be aware of? Would anyone know which API calls return these? > Igor > P.S. As an aside, I've just discovered that the -A flag is ignored or > non-functional on Win98... I'll look into that. > > On Wed, 23 Oct 2002, Stephan Mueller wrote: > > > To add new wrinkles after the final one, "$USERPROFILE/My Documents" is > > still somewhat presumptuous. That certainly looks like the default > > location, but in Windows XP (what I just checked on) the user is allowed > > to change the location of My Documents through the UI. On my machine, > > it's (Windows syntax) D:\Doc, even though %USERPROFILE% still references > > C:\Documents and Settings\smueller. > > > > stephan(); > > > > -----Original Message----- > > From: Don Dwiggins [mailto:dond@;advancedmp.com] > > Sent: Wednesday, October 23, 2002 12:14 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Is it possible to copy a file from anywhere to My Documents > > with bash cp? > > > > > > Randall R Schulz writes: > > > You should be able to see the contents of your "My Documents" > > > directory with this command: > > > > > % ls -l "$USERPROFILE/My Documents" > > > > > Likewise, you can move or copy files to that directory like this: > > > > > % cp SomeFile "$USERPROFILE/My Documents" > > > % mv OtherFile "$USERPROFILE/My Documents" > > > > As a final wrinkle, if you're going to do this a lot, you might want to > > do something like "mount -u "$USERPROFILE/My Documents" /mydocs"; then > > you can say things like "mv furniture /mydocs". > > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ [EMAIL PROTECTED] > ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] > |,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/ -- Doug VanLeuven : 707-545-6945 (voice) 707-545-6945 (fax) Programmer/Analyst, SCWA : [EMAIL PROTECTED] Chief Engineer, USMM : [EMAIL PROTECTED] -- 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/