title: How to add a REG_NONE empty value using Batch?
body: <p>This registry script writes a <code>REG_NONE</code> empty value in the reg editor (which is represented as binary data):</p>
  
  <pre><code>Windows Registry Editor Version 5.00
  
  [HKEY_CURRENT_USER\keyname]
  "valuename"=hex(0):
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/Rhepz.jpg" alt="enter image description here"></p>
  
  <p><em>(the english translation of the data-description in the image above is: "zero-length binary value")</em></p>
  
  <p>I need to reproduce the same in Batch (to improve a Reg2Bat converter), but when I try this:</p>
  
  <pre><code>REG ADD "HKCU\keyname" /V "valuename" /T "REG_NONE" /D "" /F
  </code></pre>
  
  <p>It adds data:</p>
  
  <p><img src="https://i.stack.imgur.com/0UtvX.jpg" alt="enter image description here"></p>
  
  <p>Maybe the reg.exe command is not compatible with the <code>REG_NONE</code> valuetype? (the command help says its a supported value but... you see)</p>
  
  <p>How I could really add a <code>REG_NONE</code> empty value?</p>