Rename 12k of files and moving to backup folder with VBA [closed]
Hello and thank you for any help given... I have about 12k of files that need to be renamed. They all reside in a singular folder and they all follow the same naming pattern including the file extension.
12k files are here: C:_Manager_stuff\xxxx.file
Move_to folder if that is needed here: C:_Manager_Stuff\NewFilesHere
What is needed:
- I need to remove the first 9 characters of all files.
After the first 9 characters are removed... 2. then I need to change the 12th character from a 1 to a 4 3. then I need to move characters 13 through 25 back 15 spaces.
Example: AD202009_CH000004_001_CH000005_001_20200909142331_000026149.file
changes to
CH000004_004_20200909142331_CH000005_001_000026149.file
Thanks again for any help, Shasta
from Recent Questions - Stack Overflow https://ift.tt/3zI9o0a
https://ift.tt/eA8V8J
Comments
Post a Comment