Most viewed recipes tagged "cab"http://code.activestate.com/recipes/tags/cab/views/2012-11-01T18:33:32-07:00ActiveState Code RecipesCreate .CAB or .ZIP with batch (Batch)
2012-11-01T18:33:32-07:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578315-create-cab-or-zip-with-batch/
<p style="color: grey">
Batch
recipe 578315
by <a href="/recipes/users/4184115/">greg zakharov</a>
(<a href="/recipes/tags/cab/">cab</a>, <a href="/recipes/tags/cscript/">cscript</a>, <a href="/recipes/tags/zip/">zip</a>).
</p>
<p>Naturally, commnad language hasn't native methods to create archives but there is no obstacle to use JScript inside a batch. By the way, this do not need creation temporary files. OK, how does it work? Maybe you heard about conditional compilation in JScript, so you must be familiar with this trick. Take a look at this:</p>