title: Scanning word phrases (user input) in batch
body: <p>I am trying to create a batch file that can respond to commands and such (much like and AI) but I am having a problem with a part.</p>
  
  <p>Here is what I have:</p>
  
  <pre><code>@echo off
  set /p Quest="How are you today? "
  echo %Quest% &gt; Results.txt
  for /f "tokens=1,2,3,4,5 delims= " %%a in (Results.txt) do (
  if %%(something)==good do "My day is doing good as well."
  )
  pause
  </code></pre>
  
  <p>How do I scan the contents of <code>Results.txt</code>?</p>
  
  <p>For example: What if the user said: "I am good today" or simply "good." And since their response would be printed into <code>Results.txt</code> how could I simply scan for the word "good" (or any other descriptive adjective) only and respond to the user based on that one word (or any other descriptive adjective)?</p>