Is there any way to capture the complete command-line string that executed an SQR? For example, I would like to capture the following: "sqrw.exe mysqr.sqr user/pass@dbname -flag -flag" Thanks, Bob