Using -f to Execute Multiple Commands Efficiently

Using "cmdlineprocessor.exe -f <filename>" causes one instance of HTML Validator to efficiently execute multiple command lines. Using the -f method instead of calling cmdlineprocessor.exe once for each command may be much faster, depending on the specific commands.
Each command line is specified on a single line in the text file specified by filename except that cmdlineprocessor.exe is unnecessary and should not be specified as part of each command.
Comments are allowed in filename. If the first two non-space characters of a line are // then the line is treated as a comment and is ignored.
Example: Assume there are many documents that you want to use the template tool on (-t). Create a file called TemplateTool.txt that contains the following:
-t c:\htmlfiles\document1.html
-t "c:\htmlfiles\dir with space\document2.html"
-t c:\htmlfiles\document3.html
-t c:\htmlfiles\document4.html
Now process all the commands in TemplateTool.txt by calling cmdlineprocessor.exe -f TemplateTool.txt. The full path to cmdlineprocessor.exe and/or TemplateTool.txt may need to be used.

Note that commands may also be mixed. The below would also be acceptable for TemplateTool.txt, although you may want to change the name of the file to a more general name like MyValidatorCommands.txt:
// -if the first two non-space characters are "//", then the line is ignored
-v c:\htmlfiles\document1.html
-v c:\htmlfiles\mystyles.css
// be sure to enclose the filename in double quotes if it contains any spaces
-t "c:\htmlfiles\dir with space\document2.html"
-l c:\htmlfiles\document3.html
-t c:\htmlfiles\document4.html
// the below line validates the file without the "-v" option (-v forces the viewer to open)
// the below line causes the Batch Wizard to process the specified target list
-b c:\htmlfiles\batchwizard.lst