How do I read command line parameters? The standard function ParamCount: word will return the number of command line parameters, while function ParamStr(N: word): string will return the N-th parameter.