How do I put arguments in my batch file?
Posted: 03 Apr 2010 20:38
I know this sounds a dumb and simple question, but how do I put arguments in my batch file? For example, I want to be able to run some of my own batch files from the command line like:
example.bat /A /2 /F /T
--OR--
example.bat -W +E -1 -G +5
Can I please get some help on how to do this? Am I able to have -1 and +1 being opposite args (like the ATTRIB command)???
Thanks for any reply...![Confused :?](./images/smilies/icon_confused.gif)
example.bat /A /2 /F /T
--OR--
example.bat -W +E -1 -G +5
Can I please get some help on how to do this? Am I able to have -1 and +1 being opposite args (like the ATTRIB command)???
Thanks for any reply...
![Confused :?](./images/smilies/icon_confused.gif)