C:\home\tobey>echo %userprofile%\My Documents
C:\home\tobey\My Documents

C:\home\tobey>perl
print "$ENV{USERPROFILE}\\My Documents";
__END__
C:\home\tobey\My Documents
C:\home\tobey>





--- [EMAIL PROTECTED] wrote:
> 
> On 30/05/2002 15:24:40 perl-win32-users-admin wrote:
> 
> >I have been looking for a way to determine the path
> of the 'My Documents'
> >folder for a PC.  I assume this is a registry
> setting.  I did a search for
> >this through MY registry and the only potential
> references I can find
> refer
> >to a shell32.dll,9227.  I don't have a clue as to
> what that means.
> >
> 
> Forget that. For Windows 2000, look in the registry
> under
> 
>
HKCU/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell
> Folders
> ^^^^- HKEY_CURRENT_USER  (there's a space character
> there)---^
> 
> You'll find entries for "Administrative Tools",
> "Desktop",
> "Favourites", "Start Menu", etc.
> Look for either "My Documents" or "Personal".
> 
> --
> Csaba Ráduly, Software Engineer                     
>      Sophos Anti-Virus
> email: [EMAIL PROTECTED]                      
>  http://www.sophos.com
> US Support: +1 888 SOPHOS 9                     UK
> Support: +44 1235 559933
> 
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe:
http://listserv.ActiveState.com/mailman/mysubs


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to