Adam,
Under Windows 2000 (and possibly other Win* operating systems), see $ENV{USERPROFILE}. If you need a complete pathname: C:\>perl -MFile::Spec -e "print File::Spec->catfile ($ENV{USERPROFILE}, 'My Documents')" C:\Documents and Settings\wyant\My Documents Beware of the space if you intend to pass this to the glob function under Windows. Tom Wyant "Adam Frielink" <[EMAIL PROTECTED]>@listserv.ActiveState.com on 05/30/2002 10:24:40 AM Sent by: [EMAIL PROTECTED] To: "Perl-Win32-Users \(E-mail\)" <[EMAIL PROTECTED]> cc: Subject: Determining Default 'My Documents' folder path 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. Is there any help someone can provide? _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs