I have thousands of files that I need to rename. They all contain a 10 digit number that all begin with '42469'. I need to move this 10 digit in each of the files to the beginning of the filename and add an underscore. Example:
Original - HOLZHEAUSER GAS UNIT_ 2_4246932863_2.pdf
Result - 4246932863_HOLZHEAUSER GAS UNIT_2_2.PDF
Can anyone help me with this? Thank you in advance!
I am not a real experienced script user/programmer, so my choice would be to be able to do this in Powershell. I have tried the two suggestions in Powershell without any luck.