From: Gavin Sinclair Date: 2007-07-29T08:59:58+09:00 Subject: Re: FileUtils in widows 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. > > Isn't the f covered in the do statement? I'm not sure how else f would > be implemented. FileUtils.copy(f, newdir)