title: CURL inside windows batch file
body: <p>I'm trying to use CURL inside a windows batch file. I need to capture the response inside a variable but am struggling. I have tried several syntaxes and if I attempt to use curl_setopt I get an error about the Environment variable not being defined. Going back to basics I started with ... </p>
  
  <pre><code>set response = curl http://www.google.co.uk
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>