%chown() function

The %chown() function changes the owner-ID and group-ID of the file str to the values specified in owner and group respectively.

For Windows: Not Supported

Syntax

var = %chown(str, owner, group)

Example(s)

if %chown("/tmp/ap.log", 2000, 0) < 0 then
   crt ’Cannot change owner’; stop
end