function ParamStr(x :integer): string;

Returns a specified parameter from the command-line.
ParamStr returns the parameter from the command line that corresponds to Index, or an empty string if Index is greater than ParamCount. For example, an Index value of 2 returns the second command-line parameter.
Note: Use double quotes to wrap multiple words as one parameter (such as long file names containing spaces).

var i :integer; begin for i := 0 to ParamCount-1 do writeln( ParamStr(i) ); end.

dbfscript.exe test-param.dbfscr /RUN filename.dbf /param1 /param2 /paramN