From: Jon Dale Date: 2007-07-29T09:44:11+09:00 Subject: Re: FileUtils in widows Gavin Sinclair wrote: > On Jul 29, 8:24 am, Jon Dale wrote: >> >> files.each do |f| >> >> next if f == "." or f == ".." >> >> FileUtils.copy(dir,newdir) >> >> > You forgot to use f in this line. >> > > FileUtils.copy(f, newdir) Thanks, works now. I stared at it so long I couldn't see the obvious! -- Posted via http://www.ruby-forum.com/.