title: Command line piping to match first line of output
body: <p>Is there a way to achieve the following through a single command line command using pipes?</p>
  
  <ol>
  <li>List the files in descending order of modified date (dir /b /o:-d)</li>
  <li>Check if the first line of the above output is "checksum.txt"</li>
  <li>If there is match, output "found" else "not found"</li>
  </ol>
  
  <p>I am trying to avoid creating temporary file by redirecting the output of "dir" command above and then reading the first line in the file to check for a match.</p>