From: Jonas Jonaitis Date: 2013-05-20T18:45:17+09:00 Subject: Re: Rename multiple files path = "D:\\Images" Dir.open(path).each do File.rename(Filename, Filename.downcase!.gsub!(32.chr,'-')) end What I would also really want is to set a path to a folder with multiple files and enter a code, so it would make the changes to all file names. My code is missing something. -- Posted via http://www.ruby-forum.com/.