title: Display text from .txt file in batch file
body: <p>I'm scripting a big batch file.</p>
  
  <p>It records the date to a log.txt file:</p>
  
  <pre><code>@echo off
  echo %date%, %time% &gt;&gt; log.txt
  echo Current date/time is %date%, %time%.
  @pause
  exit
  </code></pre>
  
  <p>It can record it several times, on several lines. Now what I want to do is that the batch file file shows the last recorded date/time from the log.txt file.</p>
  
  <p>How?</p>