Dave Ru 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
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnima01/html/ima0187.asp 
>
> .
>
>
> Thanks,
> Dave
>
require 'win32/dir'

Dir::PERSONAL # "C:\\Documents and Settings\\djberge\\My Documents"

Regards,

Dan