In the following folder "C:\General\Month" there are 30 to 31 subfolders and each subfolder has 7 csv files and 4 xls files (excel 2000). I want to perform the following actions on these files.
1. Find "Va*.csv" and save it as "Va*.xls" in the same path by converting to xls format.
2. Find "Ru*.xls" and save it as "Mes*.xls" in the same path but without renaming the original file. Rt should be replaced by Mts and rest of the characters in the file name should remain same. That means, file name will remain same.
3. Find "Per*.xls" and rename the same as "Data.xls" in the same path. Which means there will one Data.xls in each of the 30-31 subfolders. There will be only one Per*.xls in every subfolder, so no chance of 2 or more files to be renamed as Data.xls.
I would appreciate if someone could help me in this matter.
1. Find "Va*.csv" and save it as "Va*.xls" in the same path by converting to xls format.
2. Find "Ru*.xls" and save it as "Mes*.xls" in the same path but without renaming the original file. Rt should be replaced by Mts and rest of the characters in the file name should remain same. That means, file name will remain same.
3. Find "Per*.xls" and rename the same as "Data.xls" in the same path. Which means there will one Data.xls in each of the 30-31 subfolders. There will be only one Per*.xls in every subfolder, so no chance of 2 or more files to be renamed as Data.xls.
I would appreciate if someone could help me in this matter.