From: Arup Rakshit Date: 2013-01-31T00:34:36+09:00 Subject: Re: How to copy the directory files only to another directory? Joel Pearson wrote in post #1094387: > The example I gave you only copies the files, not the directories. You > may get name conflicts as a result, however. > Also the example I gave will go through every directory. If you want to > limit this you'll need to be more specific in your code. Yes,that I understood,but What I am trying to say is in my case the file extension can be any thing, like .vbs,.vb,rb,xlsx etc - anything. So without hard-coding anyway to get any type of file names excluding their directories? -- Posted via http://www.ruby-forum.com/.