From: verynewbie Date: 2006-06-09T10:46:59+09:00 Subject: Re: directory name issue Harry wrote: >> newdir = line.upcase.to_s > > newdir = line.chomp.upcase.to_s > > Your line has a linefeed. Chomp it. > > Harry thanks! i should have thought of that part of it though -- Posted via http://www.ruby-forum.com/.