Hi, 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?
on 2006-06-08 21:36
on 2006-06-08 22:33
Hey Dir.chdir('c:') works on my Win2k box And Find('c:') seems to be OK too Cheers
on 2006-06-09 00:00
Chris, 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..., Chuck