From: Nick Hoffman Date: 2008-11-13T23:43:16+09:00 Subject: Re: Connect to Windows Share using Ruby Aldric Giacomoni wrote: > I couldn't find the original post so I'll reply to this one.. > > require 'fileutils' # optional, but so much stuff comes in handy... > Dir.chdir("//servername/sharename/") > > That usually does the trick for me.. Or do you need something else? > > --Aldric Yeah, all of the above works for me. I just didn't know if there was a more 'built in' way to connect rather than relying on the host OS to handle the communication. Having Ruby take care of it would make the code much more portable. -- Posted via http://www.ruby-forum.com/.