Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: writing to a users "My Documents" folderby Sandy (Curate) |
on Jan 27, 2009 at 21:16 UTC ( [id://739350]=note: print w/replies, xml ) | Need Help?? |
If you want to play it safe, do not assume that the user's personal folder is on the C drive.
The windows registry (at least on my computer) contains the personal folder for the user
I suppose that there is a CPAN module that should be able to read the Windows registry. update http://search.cpan.org/~adamk/Win32-TieRegistry-0.25/TieRegistry.pm
In Section
Seekers of Perl Wisdom
|
|