From: Tomoyuki Chikanaga Date: 2011-02-17T09:58:32+09:00 Subject: [ruby-core:35270] [Ruby 1.9-Bug#4404] Make Dir.glob respect backslash as if slash in windows Issue #4404 has been updated by Tomoyuki Chikanaga. Hi, You should escape backslash in double quoted string literal("" or %!!) as follows, Dir[%!C:\\Users\\Public\\Desktop\\*!] or you can use single-quoted string literal('' or %q!!). Dir['C:\Users\Public\Desktop\*'] ---------------------------------------- http://redmine.ruby-lang.org/issues/show/4404 ---------------------------------------- http://redmine.ruby-lang.org