Specifying the command line arguments in a file

Specifying arguments on the command line can sometimes be a bit tricky because the command line interpreter needs “ (quotes) around values.

To mitigate this problem %SEQZAP_EXE% support an argument called --cmdfile which takes a filename as argument.

%SEQZAP_EXE% will read each line of the given cmdfile as if it was specified on the commandline separated by whitespace, this makes it much easier to see where an argument starts and the other begins.

The cmdfile below loads the My Test Project With Spaces.SeqZapProject, starts the A Long Test test suite and generates the Detailed Browsable Report to the My Report.html file.

# A cmdfile also supports comments -f My Test Project With Spaces.SeqZapProject -s All --reportfile Detailed Browsable Report=My Report.html

All the flags and arguments supported on the command line are also supported in a cmdfile.

The only difference is that environment variables are not expanded in the cmdfile, so a filename such as %HOMEPATH%\Documents\MyProject.SeqZapProject will not work.