title: TexStudio and TexCount User Command
body: <p>Im trying to incorporate TexCount into Tex Studio.</p>
  
  <p>Ive gotten the perl script working in the command line, but I would like it done in TexStudio automatically.</p>
  
  <p>I have adapted a bat file, but it doesnt work:</p>
  
  <pre><code>@echo off
  C:\texlive\2015\texmf-dist\scripts\texcount\texcount.pl -html -inc "?ame" &gt; "%".html
  "%".html
  </code></pre>
  
  <p>However I tinker with the syntax it doesnt seem to work and at the very most I can get it to produce a blank html file "_count.html"</p>
  
  <p>Can anybody get this .bat file working please?</p>