<ul>
<li>
<p>Create a shortcut to your batch file.</p>
</li>
<li>
<p>Get into shortcut property and change target to something like: <code>cmd.exe /C "path-to-your-batch"</code>.</p>
</li>
<li>
<p>Simply drag your new shortcut to the taskbar. It should now be pinnable.</p>
</li>
</ul>