title: If not exists then exit + cmd
body: <p>i try to make a loop in a .cmd file.</p>
  
  <p>If test.txt is not exists then i will kill the cmd process.</p>
  
  <pre><code>@echo off
  if not exists test.txt goto exit
  </code></pre>
  
  <p>But this code doesn't work and i don't know how to make a loop every 2 seconds.</p>
  
  <p>Thanks for help.</p>