Many years ago I created a GetOpt batch file so that I could process command line arguments effectively. I've posted this before, but you can read much more about how this works at the following link:
github.com
I use this extensively in my batch files and library functions. I have since updated this to work as a library function and the code is below. If you'd rather just use it as a batch file, remove the first and last line. If anyone has ideas or...
Read more
GitHub - frossm/getopt.btm: A TakeCommand batch file which attempts to emulate the basic capabilities of the GNU getopt library
A TakeCommand batch file which attempts to emulate the basic capabilities of the GNU getopt library - frossm/getopt.btm
I use this extensively in my batch files and library functions. I have since updated this to work as a library function and the code is below. If you'd rather just use it as a batch file, remove the first and last line. If anyone has ideas or...
Read more