title: Batch Error: “< was not expected at this time”
body: <p>I want to use Ptexport to get info from a http server, but i cant seen to type the right syntaxis.</p>
  
  <p>I have tried differente types of syntaxis.</p>
  
  <pre><code>wget.exe --user=export_kpi --password=kpi123 -O Result3.txt http://XX.YYY.CCC.BB/export/Export?req='&lt;Ptexport version="1.6.0"&gt;&lt;Request&gt;&lt;ResultReq egname="test_kpi" templRR1="kpi_lost"&gt;'**
  </code></pre>
  
  <p>and i get this </p>
  
  <p>&lt; was not expected</p>
  
  <p>I should get on the .txt something like this:</p>
  
  <pre><code>cat Result3.txt |sed 's/&gt;&lt;/&gt;\n&lt;/g'
  &lt;Ptexport version="1.6.0" &gt;
  &lt;Response&gt;
  &lt;RR cid="1459546492000" sid="33966" eod="0"&gt;
  &lt;RR1 direction="0" statTime="1552888534574" dmax="400" /&gt;
  &lt;RR1 direction="1" statTime="1552888534574" dmax="413" /&gt;
  &lt;RR1 direction="0" statTime="1552888594575" dmax="466" /&gt;
  &lt;RR1 direction="1" statTime="1552888594575" dmax="487" /&gt;
  &lt;RR1 direction="0" statTime="1552888654575" dmax="371" /&gt;
  &lt;RR1 direction="1" statTime="1552888654575" dmax="427" /&gt;
  &lt;/RR&gt;
  &lt;RR cid="1459546492000" sid="33968" eod="0"&gt;
  ..etc
  </code></pre>