Hello all again.

Thank you for that info Jeremy its definitely going to help in the 
future.

Last question regarding this. Because I have created the folders with a 
variable I am now unable to move files into them. The files move but 
only into the last folder that has not been named with a variable.

Example:
FileUtils.makedirs ("Backup\\test\\#{@yr}\\#{@yr}#{@mont}")
FileUtils.mv test_files, "Backup\\test\\#{@yr}\\#{@yr}#{@mont}"

The files only go so far as Backup\\test\\

Any ideas?

Kind Regards
Alex

-- 
Posted via http://www.ruby-forum.com/.