10-15-2008, 05:08 PM
Dear All,
I have like 50 files names as 107208.txt, 107308.txt etc etc, main thing is 3rd number is "7". I need to change all files names to 108208, 108308 means 3rd number will change from 7 to 8 and also ext will also remove. So, lets say file 107208.txt will become 108208. All files are located on the same directory e.g c:\product_code (folder name).
Can someone please provide me the script?
Regards,
Saaz
I have like 50 files names as 107208.txt, 107308.txt etc etc, main thing is 3rd number is "7". I need to change all files names to 108208, 108308 means 3rd number will change from 7 to 8 and also ext will also remove. So, lets say file 107208.txt will become 108208. All files are located on the same directory e.g c:\product_code (folder name).
Can someone please provide me the script?
Regards,
Saaz