Hi hoping someone can assist.
I need to create a .bat file to read a value from a text file at a certain position and use it to rename the file.
The bat file needs to read the 5th line and the text from the 47th character for 18 characters.
It should then take those 18 characters and use it to rename the file removing any spaces.
I have had a few goes but not been able to get this working so would appreciate some assistance.
Thanks,
G
I have tried to write a bat file and i can read in a line but not able to get the specific location.
GravyTrain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.