Just need some help on creating a batch command to replace specific text in the file name. What I need it to do is no matter the files name prefix or suffix it will replace "5555" with "6666". I have almost gotten there as I can identify any file with "5555" but its adds "6666" after the "5555" instead of replacing the "5555"
Question
1WayJonny
Hey guys,
Just need some help on creating a batch command to replace specific text in the file name. What I need it to do is no matter the files name prefix or suffix it will replace "5555" with "6666". I have almost gotten there as I can identify any file with "5555" but its adds "6666" after the "5555" instead of replacing the "5555"
i.e. of what I need it to do
Data1 Data2 Data3 5555 Data4.file
Data1 Data2 5555 Data4 Data 5.file
Data1 5555 Data4.file
Data1 Data2 Data3 6666 Data4.file
Data1 Data2 6666 Data4 Data5.file
Data1 6666 Data4.file
I appreciate any help in the matter...
Link to comment
Share on other sites
2 answers to this question
Recommended Posts