Can't get /report to work in script file

Hello,

I'm a litte confused about how to use the "report" feature in scripts. Both "/report" and "-report" result in "unknown command /report" messages.

If I add an absolute path in %%, nothing changes.

It would be nice if someone could shed some light on this.

Thank you.

Franz-Josef

---

[from the batch documentation:]

/report

This command creates reports in defined locations.
Syntax
/report:%specificPath%
Parameter
%SpecificPath% Specifying a location parameter (-report:%SpecificPath%) creates the reports inside the specified folder.
No parameter The -report command creates timestamped folders containing corresponding reports inside the Reports subfolder of the project directory.
Example
This command creates folders named with the current date and hour that contain report files inside the specified location.
pslcmd /report:%c:\projects\myProject%
emoji