From: Jason Mayer Date: 2007-01-15T07:02:25+09:00 Subject: Re: File.rename says file name is to long ------=_Part_79392_7077706.1168812143214 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline > > test.to_s.each do |pics| > counter = 0 > File.rename(pics , "Amber " + counter.to_s + ".jpg") > counter = counter + 1 > end > > puts "Done!" > Um, haven't played with it, but should the counter = 0 be inside your loop? ------=_Part_79392_7077706.1168812143214--