[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Getting My Documents Folder

Harold Hausman

7/23/2006 7:40:00 AM

On 7/23/06, Dave Ru <daverubie@gmail.com> wrote:
> Hi,
> I'm trying to find the my documents folder for the current user in
> windows. I know this can be done using Win32API, but I'm a little confused
> on the syntax. Here's an article on how to do it in VB
>
> ...
>
> Thanks,
> Dave
>
>

How's about?
ENV['USERPROFILE']

hth,
-Harold