From: Arup Rakshit Date: 2013-01-30T23:29:00+09:00 Subject: Re: Dir.glob problem Michel wrote in post #1094364: > For example : To process only the files in the directory and in its > sub-directories : > > Dir.glob("**/*") {|x| > if File.directory?(x) then # it's a directory > else # It's a file ... > } Yes But if I want to perform such search,on the directory say - "C:\Documents and Settings\prayer\My Documents\userdata" . Then how to pass it to the Glob() method? Thanks -- Posted via http://www.ruby-forum.com/.