Forum: Ruby paths and drive letters???

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Chuck B. (Guest)
on 2006-06-08 21:36

I'm trying to make a ruby program which will search for and then
manipulate list of files and the files themselves.  I'm confused about
the Dir class and/or Find module. How do I specify a windows drive
letter to limit/refine my search to a specific disk drive?
Chris (Guest)
on 2006-06-08 22:33

Dir.chdir('c:') works on my Win2k box

And Find('c:') seems to be OK too

Chuck (Guest)
on 2006-06-09 00:00
(Received via mailing list)

Doh!   Thanks, that seems to do it. :) Maybe it had something to do
with using freeride.  I've been playing with it for hours and just
couldn't seem to get it right :(

so I'm a little slow on the uptake...,
This topic is locked and can not be replied to.