title: How to ignore WinRAR warnings programatically?
body: <p>I need to loop over a lot of jar files to delete previous signs and remake the sign for each jar so I make this script for windows, it works well but it stops when a 'Warning' message appears; and I have to click 'close' a lot of times. The warning is because "no file was found to delete".</p>
  
  <pre><code>@echo off
  REM iterate over jar files in path
  for %%x in (C:\My\Path\to\jar\files\*.jar) do (
  echo Jar name: %%~nx
  echo -------------------------------------
  
  REM delete previous signatures
  "C:\Program Files\WinRAR\WinRAR.exe" d %%x *.RSA *.SF
  
  REM execute sign command
  C:\My\Path\To\jarsigner.exe -keystore C:\My\Path\to\mykeystore.jks -storepass myStorepassKey -keypass myKeyspassKey %%x keys_alias
  
  )
  </code></pre>