title: getopts for Windows batch files?
body: <p>Is there an easy way to detect options/switches passed in to a batch file via the command line? I'm looking for something along the lines of <code>sh</code>'s and <code>bash</code>'s <a href="http://aplawrence.com/Unix/getopts.html" rel="nofollow noreferrer"><code>getopts</code></a>.</p>