title: REG ADD - Invalid syntax
body: <p>I am trying to modify a value in the registry by using the following line of code in a batch file but I keep getting "ERROR: Invalid syntax" when I use double quotes around the parameters or "Invalid key name" when I use single quotes. </p>
  
  <pre><code>REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\{7AA5E1AE-2408-4B92-9C56-8962CD9E926C}" /v "Category" /t REG_DWORD /d 00000001 /f 
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>