Hi,
I have a folder located at 'C:\Users\Steve\Desktop\2018 Data' and it has lots of subfolders and sub-sub folders. Throughout all the folders there are lots of .pptx files that I want to rename. The target files have a mixture of names but they all end in 'v1.0(A3)', eg. 'London v1.0(A3)', 'Bristol v1.0(A3)' etc... and I want to rename them all as simply 'Archive File' (there is only one file ending in 'v1.0(A3)' in each subfolder). So, ultimately I will end up with several hundred files all named 'Archive File.pptx' located in the same amount of subfolders. I guess the code will need a wildcard option to locate the files, something like... '*v1.0(A3)'.
Can anyone help with this?
Many thanks.
I have a folder located at 'C:\Users\Steve\Desktop\2018 Data' and it has lots of subfolders and sub-sub folders. Throughout all the folders there are lots of .pptx files that I want to rename. The target files have a mixture of names but they all end in 'v1.0(A3)', eg. 'London v1.0(A3)', 'Bristol v1.0(A3)' etc... and I want to rename them all as simply 'Archive File' (there is only one file ending in 'v1.0(A3)' in each subfolder). So, ultimately I will end up with several hundred files all named 'Archive File.pptx' located in the same amount of subfolders. I guess the code will need a wildcard option to locate the files, something like... '*v1.0(A3)'.
Can anyone help with this?
Many thanks.