title: Using WMIC in a batch file to uninstall a program
body: <p>I am writing a script to uninstall a program. I am utilizing WMIC to do this. When I run the script, it stops immediately after the wMIC command is run. When run it manually everything works fine. My script looks like this:</p>
  
  <pre><code>@echo off
  title Forcepoint DLP Endpoint
  Echo Forcepoint DLP Endpoint
  wmic
  product where name="Forcepoint DLP Endpoint" call uninstall /nointeractive
  </code></pre>
  
  <p>What should I be added after "WMIC" in order to continue the script?</p>
  
  <p><strong>This script when entered manually worked:</strong></p>
  
  <pre><code>wmic
  product where name="Forcepoint DLP Endpoint" call uninstall
  Y
  </code></pre>