I was not sure where to put this so here it goes.
I have been given the task of creating a .bat file using DOS commands that depending on the parameter sent would take some action. My question is there may be up to 25 or 30 different parameters the .bat file may receive and have to recognize. What would the best way to do that be? A 25 line nested if statement could get quite complicated.
Cretin
I have been given the task of creating a .bat file using DOS commands that depending on the parameter sent would take some action. My question is there may be up to 25 or 30 different parameters the .bat file may receive and have to recognize. What would the best way to do that be? A 25 line nested if statement could get quite complicated.
Cretin