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.
4f015feace32592e204bf4fab8b4bf8f?d=identicon&s=25 Chuck Brotman (Guest)
on 2006-06-08 19: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?
23172b6630dc631a134c9bad2fec2a39?d=identicon&s=25 Chris (Guest)
on 2006-06-08 20:33

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

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

4f015feace32592e204bf4fab8b4bf8f?d=identicon&s=25 Chuck (Guest)
on 2006-06-08 22: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.