Command group | Flag affected | Reversible | Execute on client | Platform(s) |
---|---|---|---|---|
External commands | YES | NO | NO | Windows,Linux |
Set file read-only attribute (path, read-flag) Returns err-code
Note: The flag is set according to whether Omnis was able to make a call to this external command.
This command lets you set the read-only attribute of the file specified in path-name. If you set the read-flag parameter to kTrue the file is set to read-only, or if kFalse the file is set to read/write.
It returns an error code (See Error Codes), or zero if no error occurs.