Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: Getting My Documents Folder
Daniel Berger
7/23/2006 1:52:00 PM
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/i...
>
> .
>
>
> Thanks,
> Dave
>
require 'win32/dir'
Dir::PERSONAL # "C:\\Documents and Settings\\djberge\\My Documents"
Regards,
Dan
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Getting My Documents Folder
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password