I've been doing some researching on the forum & I can't quite find the exact answer that I am looking for.
What I would like is to create a batch file to read the last four digits of a text file from the first line, then rename a .txt to the four digits that I just read from the file.
I've got a rough idea, but don't quite know how to put it all together...
Here is the information that i've gathered so far
something like this...
echo "Read a line of text from a text file" >Text.txt
set /p var= <Text.txt
I know the above will only read
i am a bit of a newbie, so any pointers would greatly be appreciated!