Sets the default read-only/writeable status of files in a specified directory. Format SET DIRECTORY directory-spec
1 – Qualifiers
1.1 /READ_ONLY
Specifies that files in the indicated directories are read-only and unmodifiable by default. The /READ_ONLY qualifier prevents the WRITE command from writing files to the indicated directory unless you subsequently override this default.
1.2 /WRITE
/WRITE (D) Specifies that files in the indicated directories are writeable and unmodifiable by default.
2 – Parameter
directory-spec Specifies a directory to be set as read-only or writeable.