title: Deleting Registry entries using reg delete
body: <p>I am trying to delete registry values using <code>reg delete</code> in a batch command. The problem I am having is that I can't delete the value.  Here is what I am trying:</p>
  
  <pre><code>REG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports\" /v C:\convertdoc\output\SilentPrintTemp\126017829image-gif3.ps
  </code></pre>
  
  <p>Ideally I wanna remove all entries with:</p>
  
  <pre><code>REG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports\" /v  C:\convertdoc\output\SilentPrintTemp\*.ps
  </code></pre>
  
  <p>I have tried it in a few different ways and with different parameters. Normally the double "" stops the command at the end of the key. So maybe my syntax is wrong?</p>