title: Get Value of Registry Key
body: <p>I have a batch script that checks if a registry key exists and if it does exist then open Internet explorer. What I now want to do is get the value of that registery key and put it in the URL. How can I do this?</p>
  
  <pre><code>@echo off
  reg query HKLM\Software\Test\Monitor\Settings
  if errorlevel 1 goto not_exist
  goto exist
  
  :not_exist
  
  :exist
  start "Test" "%ProgramFiles%\Internet Explorer\iexplore.exe" http://localhost:/dashboard.php
  </code></pre>
  
  <p>Thanks all for any help.</p>