title: Batch File - Into a Variable
body: <p>I am having problems trying to get the string after the : in the following two lines into two separate variables from the bottom of a text file called file.txt for example</p>
  
  <pre><code>Number of files to delete:  27 Total
  Total size of files to delete: 1,427 KB
  </code></pre>
  
  <p>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.</p>
  
  <p>Batch file please, I am using windows</p>