From: Alex Sweps Date: 2012-01-22T07:33:40+09:00 Subject: Re: Name directory with a variable Hello everyone Ok never mind i figured it out! I did it by making a variable to Backup\\test\\#{@yr}\\#{@yr}#{@mont} and then used: FileUtils.mv test_files, x Thank you all so much for you help and fast replies. Kind Regards Alex -- Posted via http://www.ruby-forum.com/.