I am able to generate the perl file. However, an index does ot get geenrated here as in Glenns zip folder.
Secondly, I tried to produce a collective index of both vbs and actions, but that gives me an error as:
You cannot have more than one project directory.
Type NaturalDocs -h to see the syntax reference.
Finding files and detecting changes...
Parsing 3 files...
Building 3 indexes...
My batch file is now as below for this scenario:
Rem collect up the qtp script - action script files.
Rem Param 1: Where the qtp scripts are.
Rem param 2: Where the summaries are to be written.
perl "C:\Documentation\CollectActions.pl" "C:\Documentation\Input\Actions" "C:\Documentation\QtpTestsSummary"
Rem run NaturalDocs
Rem -i is where the code to be documented lives.
Rem -o is where the created documention is put.
Rem -p is where our project specific NaturalDocs configuration lives.
set NaturalDocsParams=-i C:\Documentation\Input -i C:\Documentation\QtpTestsSummary -o Framedhtml C:\Documentation\Output -p C:\Documentation\NaturalDocsproject
rem Shift and loop so we can get more than nine parameters.
rem This is especially important if we have spaces in file names.
if "%1"=="" goto NOMORE
set NaturalDocsParams=%NaturalDocsParams% %1