title: How to add a linebreak using REG command in a MULTI_SZ value type?
body: <p>How I can insert a newline using REG command in a MULTI SZ value?</p>
  
  <p>This is what I've tried:</p>
  
  <pre><code>REG ADD "HKCU\Test" /V "Test Multi SZ" /T "REG_MULTI_SZ" /D "a\n b" /F
  </code></pre>
  
  <p>..But this is what I got:</p>
  
  <p><img src="https://i.stack.imgur.com/ii1MA.jpg" alt="enter image description here"></p>
  
  <p><a href="http://img14.imageshack.us/img14/3038/grxd.jpg" rel="nofollow noreferrer">http://img14.imageshack.us/img14/3038/grxd.jpg</a></p>
  
  <p><img src="https://i.stack.imgur.com/qimuo.jpg" alt="enter image description here"></p>
  
  <blockquote>
    <p>This is what I want to reproduce using REG.exe:</p>
  </blockquote>
  
  <p>The key:</p>
  
  <p><img src="https://i.stack.imgur.com/Rew6V.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/RgejN.jpg" alt="enter image description here"></p>
  
  <p>Binary data:</p>
  
  <p><img src="https://i.stack.imgur.com/t4bos.jpg" alt="enter image description here"></p>
  
  <p>The Regedit script:</p>
  
  <pre><code>Windows Registry Editor Version 5.00
  
  [HKEY_CURRENT_USER\Test]
  "Test Multi SZ"=hex(7):61,00,00,00,62,00,00,00,00,00
  </code></pre>