I personally think that the parameters in this command are confusing. PATHSTR refers to the executable path + final file name, DIRNAME refers to the executable path, and finally COMNDLINE is optional and refers to the file that is run with parameters.
The test can run normally