Below is code that I wrote to copy the TXT files to HTML files. I am sure that there are
better ways to do this. Any feedback to
mark@msquaredweb.com is appreciated.
fileNames = {
"1" => "January",
"2" => "February",
"3" => "March",
"4" => "April",
"5" => "May",
"6" => "June",
"7" => "July",
"8" => "August",
"9" => "September",
"10" => "October",
"11" => "November",
"12" => "December"
}
origindir = "C:/DirNameHere/"
fileNames.each {|key, value|
system("copy","#{origindir}#{key}.txt", "#{origindir}#{key}.html")
}