Justin Collins wrote:
> an an wrote:
>>>> entry...is there anyway to have them expanded
>> Dir.glob("C:\")
>> puts Dir.glob("C:\")
>>
>> neither of which print anything
>>
>>   
> I forgot the asterisk:
> 
> FileUtils.rm Dir.glob("c:\\myDir\\delete\\*")
> 
> 
> -Justin


still no luck...here is exactly what I have typed into irb:

irb(main):003:1' Dir.glob('c:\')
irb(main):004:1' Dir.glob('c:\drivers\')
irb(main):005:1' Dir.glob("c:\drivers\")
irb(main):006:1' Dir.glob("c:\drivers\*")
irb(main):007:1' puts Dir.glob("c:\drivers\*")
irb(main):008:1' puts Dir.glob("c:\\drivers\\*")
irb(main):009:1' Dir.glob("c:\\drivers\\*")
irb(main):010:1' Dir.glob('c:\\drivers\\*')
irb(main):011:1' Dir.glob("c:\\*")
irb(main):012:1' print Dir.glob("C:\\*")

none of these commands returned anything....any idea why?
-- 
Posted via http://www.ruby-forum.com/.