From: Usaku NAKAMURA Date: 2011-06-27T16:04:09+09:00 Subject: [ruby-core:37558] [Ruby 1.9 - Bug #4404][Rejected] Make Dir.glob respect backslash as if slash in windows Issue #4404 has been updated by Usaku NAKAMURA. Status changed from Assigned to Rejected \ in glob parameter has special meaning. So, we can't treat it as directory separator. This is described in RDoc of Dir#[]. ---------------------------------------- Bug #4404: Make Dir.glob respect backslash as if slash in windows http://redmine.ruby-lang.org/issues/4404 Author: Roger Pack Status: Rejected Priority: Normal Assignee: Usaku NAKAMURA Category: Target version: ruby -v: ruby 1.9.2p0 (2010-08-18) [i386-mingw32] =begin Hello all. Related to http://redmine.ruby-lang.org/issues/show/2625 I at times find myself using windows paths in glob's: Dir[%!C:\Users\Public\Desktop\*!] But it never works, as the backslash must be (manually, or programmatically) replaced by a forward slash. Could we get the default behavior changed for windows on this? That would be swell. Thank you! -r =end -- http://redmine.ruby-lang.org