title: Can't use double quotes with reg.exe
body: <p>In my java app i'm adding some values to registry through reg.exe but i can't seem to get double quotes working. 
  My code looks like this:</p>
  
  <pre><code>rt.exec("REG ADD HKCU\\Software\\MyApp\\Settings /v myPath /t REG_SZ /d \"C:\\mydir\"");
  </code></pre>
  
  <p>As you can see i have already escaped the double quotes with \" but when i view the registry the added value has no double quotes. Any idea what's wrong?</p>