ensure 2 arguments are passed in a bat file

Posted by acidzombie24 on Stack Overflow See other posts from Stack Overflow or by acidzombie24
Published on 2010-06-09T00:58:53Z Indexed on 2010/06/09 1:02 UTC
Read the original article Hit count: 178

Filed under:
|

How do i ensure 2 arguments are passed in a bat file?

I would like to echo a description of the arguments and exit the bat if there are not exactly 2 arguments.

© Stack Overflow or respective owner

Related posts about Windows

Related posts about batch-file