The command lines for the DGIndex preparer look as follows:
Code:
wscript.exe "%settings_dir%Scripts\make file list.js" "%source_dir%%source_name%_SourceFiles.txt" %source_files_blank%
"%application:DGIndex%" -SD=| -BF=|%source_dir%%source_name%_SourceFiles.txt| -IA=2 -FO=0 -YR=1 -TN=1 -OM=2 -DRC=2 -DSD=0 -DSA=0 -OF=|%source_dir%\%source_name%| -minimize -exit
This assumes there is a directory called 'Scripts' in your settings dir containing a script named 'make file list.js', script code is the following:
Code:
args = WScript.Arguments;
fso = new ActiveXObject("Scripting.FileSystemObject");
ts = fso.OpenTextFile(args(0), 2, true);
for (var i = 1; i < args.Length; i++)
{
ts.WriteLine(args(i));
}
ts.Close();
If you or somebody else get it to work with pure dos I'm interested to see what it looks like.