From: botp Date: 2008-02-09T11:33:03+09:00 Subject: Re: trouble with FileUtils.rm() -- Invalid arguement error On Feb 9, 2008 10:08 AM, an an wrote: > still no luck...here is exactly what I have typed into irb: > irb(main):011:1' Dir.glob("c:\\*") > irb(main):012:1' print Dir.glob("C:\\*") > none of these commands returned anything....any idea why? i think nobu advised us on using (forward)slash instead of backslash since the latter was a special/metacharacter, so, irb(main):008:0> Dir.glob('c:/*') => ["c:/#!mail!#2060tDO#", "c:/2.pst", "c:/abap", "c:/abap.pst", "c:/adaptec", " c:/admin", "c:/adsm.pst", "c:/ae", "c:/aeditor-2.0.log", "c:/and", "c:/AntigenIn stall.log", "c:/archive.pst", "c:/archive2.pst", "c:/asoutput.log", "c:/Autostar ", "c:/avgun.log", "c:/backup", "c:/backup2.pst", "c:/bind.pst", "c:/bind2.pst", <--snipped--> btw, before running the above in irb, pls press ctrl-c+enter or restart your irb first. your irb prompt is hinting a continuation on a quote ;-) kind regards -botp