On 7/18/07, Nobuyoshi Nakada <nobu / ruby-lang.org> wrote: > At Wed, 18 Jul 2007 17:30:17 +0900, > Ronald Fischer wrote in [ruby-talk:260407]: > > Could it be that 1.8.6 Dir.glob gets upset on the spaces in > > ENV['USERPROFILE']? > > No, backslash is a special character. So, is it a "fix" or a "bug"? What is now a portable way to do the following (does not work on Windows any more): Dir.glob(File.join(ENV['HOME'], '*.dat')) -- yura