If you have a large website and need to divide processing up into multiple jobs or you just want to run multiple Batch Wizard jobs, then you can do so using the command line processor (cmdlineprocessor.exe).
The technique is to create a command file to pass to the command line processor that contains commands to process all the Batch Wizard target lists that you want to process. Create the command file (just a simple text file - call it commands.txt if you'd like) and then call "cmdlineprocessor.exe -f <filename>". To avoid potential problems, we recommend using a full path for <filename>.
The "-q" command after the "-b" command causes the validator to wait for the previous job to finish and then exit. The next "-b" command causes the validator to reload to process the next list.
This will process the different parts in sequence (not simultaneously). See example 3 for simultaneous/parallel processing of multiple target lists.
This example uses the -veofile option with VEO files (validator engine option export files) that were exported from the Validator Engine Options dialog box. This works with v15.03+.
Using different VEO files for different Batch Wizard jobs allows for greater flexibility (like being able to specify different user functions file(s)). The last line restores the validator option settings using restore.veo. If the options are not restored then the options set with the last -veofile will remain active.
-veofile part1.veo -b "c:\wizard_lists\cse_batch_wizard_part1.lst"
-veofile part2.veo -b "c:\wizard_lists\cse_batch_wizard_part2.lst"
-veofile part3.veo -b "c:\wizard_lists\cse_batch_wizard_part3.lst"
-veofile restore.veo -q
This example uses the "-msgwindow" option to launch multiple instances of CSS HTML Validator and process three Batch Wizard target lists independently and simultaneously. It then sends quit commands to all 3 instances.
-msgwindow CSEPart1 -b "c:\wizard_lists\cse_batch_wizard_part1.lst"
-msgwindow CSEPart2 -b "c:\wizard_lists\cse_batch_wizard_part2.lst"
-msgwindow CSEPart3 -b "c:\wizard_lists\cse_batch_wizard_part3.lst"
-msgwindow CSEPart1 -q
-msgwindow CSEPart2 -q
-msgwindow CSEPart3 -q
•If you're generating reports (like when using the validator tool), then make sure each target list file specifies a different report filename in the Target List Options Tab or a job may overwrite the report of another job. The report filename in the Target List Options tab overrides the report filename in the Batch Wizard Options so that each target list can have a unique report filename.
•Use double quotes around filenames to avoid problems, especially when the path or filename contains a space character.
•You may want to disable the option that automatically opens the report when finished. This option is in the When Done page of the Batch Wizard Options.