in reply to
writing to a users "My Documents" folder
Isn't there an environment variable that contains the path that directory, or at least the user's profile directory? (Not on Windows at the moment.) That's probably the easiest.
Comment on
Re: writing to a users "My Documents" folder
Replies are listed 'Best First'.
Re^2: writing to a users "My Documents" folder
by
sweetblood
(Prior)
on Jan 27, 2009 at 21:16 UTC
yep
"$ENV{USERPROFILE}\\My Documents"
does the trick -- Thanks!
Sweetblood
[reply]
[d/l]
In Section
Seekers of Perl Wisdom