Hi all,
I have files in a poor folder structure that I would like to rename and restructure. There are about 20,000 files and the files are in 5 main sub folders that have folders and folders...there is consistency in the folder structure, so I think that I should be able to do this, I just do not know how to.
I would like to have all the files renamed to the name of the folder that they are in, then moved into the appropriate main sub folder.
The structure is as follows:
Main sub folder\date folder\name folder\generic_file_name.pdf
ex. PLANS\20061105182142\12345\page0.pdf
I would like it to be:
Main folder\[name folder].pdf
ex. PLANS\12345.pdf
All of my files need to have the name of the folder that they currently reside in, then "jump" up 2 folders, possibly deleting the date and name folders upon completion. I am using Windows XP pro / Office 2003.
Does anyone know how I can perform this action?
Thank you for any help you can provide.
Matt
I have files in a poor folder structure that I would like to rename and restructure. There are about 20,000 files and the files are in 5 main sub folders that have folders and folders...there is consistency in the folder structure, so I think that I should be able to do this, I just do not know how to.
I would like to have all the files renamed to the name of the folder that they are in, then moved into the appropriate main sub folder.
The structure is as follows:
Main sub folder\date folder\name folder\generic_file_name.pdf
ex. PLANS\20061105182142\12345\page0.pdf
I would like it to be:
Main folder\[name folder].pdf
ex. PLANS\12345.pdf
All of my files need to have the name of the folder that they currently reside in, then "jump" up 2 folders, possibly deleting the date and name folders upon completion. I am using Windows XP pro / Office 2003.
Does anyone know how I can perform this action?
Thank you for any help you can provide.
Matt