Having some trouble getting a code to work to extract the numerical values out of the following two lines into a seperate variable each to be called later in my batch file.
These two lines are the last two lines in a text file called logfile.txt
Number of files to delete: 27 Total
Total size of files to delete: 1,427 KB
I just want the 27 in one variable, and the 1,427 in another. These are randomly generated from a scan, and could include more digits. Hope you understand :)
Thanks for yall your help
Batch file please, i am using windows