Mail Archives: cygwin/2002/10/24/11:01:20
I think that was the original idea...
Igor
On Thu, 24 Oct 2002, Christopher A. Snyder wrote:
> The problem with using the $USERPROFILE is all off these "Special Folders"
> can be changed to just about anything. For example, I change my "My
> Documents" folder to a network drive, but I leave most other items local. A
> better way to resolve the location of these folders is to look in the
> registry. Using the cygwin app, regtool.exe
>
> regtool get "/HKCU/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell
> Folders/Personal"
>
> will give you the location of the My Documents
>
> Using this command you could create an alias, mounting, or env var to
> shortcut getting to the folder.
>
> This is true under Win2k. I assume XP and ME do the same thing as well.
>
> A better solution, IMHO, would be to have cygpath figure out all these
> special locations.
>
> Chris
>
> >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.
--
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/
- Raw text -