I'm trying to count of the number of occurrences / frequency /variations of arguments appearing for a bat file. For example, GradeReport.bat has this template: GradeReport.bat "grade criteria" "start date" "end date" course# CSV_format Example: 1) GradeReport.bat "Best grade" "07/20/2021" "07/27/2021" 135629 CSV 2) GradeReport.bat "Average grade" "" "07/27/2021" "" CSV 3) GradeReport.bat "Best grade" "" "" 225386 CSV 4) GradeReport.bat "Student grade" "07/16/2021" "" "" CSV The query would return: First argument count: 4 Second argument count: 2 Third argument count: 2 "Best grade" = 2 "Average grade" = 1 "Student grade" = 1 etc. Thanks for the help.
... View more