title: Hide status output from jq in dos/windows
body: <p>I'm using curl for windows (<a href="http://www.confusedbycode.com/curl/" rel="noreferrer">http://www.confusedbycode.com/curl/</a>) in conjunction with jq (<a href="http://stedolan.github.io/jq/" rel="noreferrer">http://stedolan.github.io/jq/</a>) to interact with a web api via a batch file.  The seemingly simple problem I'm having is that no matter what I do, I cannot seem to suppress JQ's "status" output.  In particular, it always outputs "progress status," like:</p>
  
  <pre><code>% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  100   116  100    99  100    17    908    155 --:--:-- --:--:-- --:--:--   908
  </code></pre>
  
  <p>A simplified example batch file would be:</p>
  
  <pre><code>@echo off
  @curl.exe -H "Content-Type: application/json" -d '{\"cmd\":\"login\"}' http://localhost:80/json | jq -r .session &gt; sess.txt
  </code></pre>
  
  <p>Note that jq does operate as expected - I simply need to get it to operate <em>silently</em>.  It seems to ignore @echo off, and I couldn't find any switches in the manual to disable this output.</p>
  
  <p>Any ideas...?</p>
  
  <p>Thanks much in advance :)</p>