title: How to ignore the windows error prompt on program execution?
body: <p>I have a program running on Windows cmd and when the program throws an error it keeps waiting for user input to either ignore/continue or cancel, but i have this batch file wich restarts the program automatically on error but since it keeps waiting for user input i have to go there and press a button</p>
  
  <pre><code>:unturned
  
  echo (%time%) Unturned started.
  
  cd masterserver
  cd VisualStudio
  cd Debug
  masterserver.exe  
  
  @echo All done!
  @echo Masterserver listening on port: 23466
  
  echo (%time%) WARNING: Unturned closed or crashed, restarting. &gt;&gt;c:\crashlog.txt
  
  ping 1.1.1.1 -n 1 -w 10000 &gt;nul
  
  goto unturned
  </code></pre>
  
  <p>How to make it ignore the error and continue automatically?</p>
  
  <p>Here is an image of the prompt:</p>
  
  <p><a href="https://i.stack.imgur.com/LCZ2c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LCZ2c.png" alt="image"></a></p>