From: Roger Pack Date: 2011-02-17T05:18:06+09:00 Subject: [ruby-core:35265] [Ruby 1.9-Bug#4404][Open] Make Dir.glob respect backslash as if slash in windows Bug #4404: Make Dir.glob respect backslash as if slash in windows http://redmine.ruby-lang.org/issues/show/4404 Author: Roger Pack Status: Open, Priority: Normal ruby -v: ruby 1.9.2p0 (2010-08-18) [i386-mingw32] 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 ---------------------------------------- http://redmine.ruby-lang.org