I am creating a batch program, and you need to pass arguments to it. Though with my current code you have to pass the arguments in a certain way. The way I could fix this is by getting a line of text next to the argument. This is what I want :
batch.bat -arg2 arg -arg1 arg
^ ^
| |
Need This Need This
batch.batwill see your required arguments as%2, (string following-arg2), and%4, (string following-arg1), is that what you wanted to know? or is there something else you wanted? Also you may be interested in theShiftcommand, please open a Command Prompt window and entershift /?to read its usage information.