Change the file attributes.
CHMOD path [options]
path is as follows:
{[[drive:]\directory\...\]filename[.extension]}
options includes the following attributes:
A | archive |
H | hidden |
R | read-only |
S | system |
If you do not specify any options, all attributes are turned off.
Switch off all attributes:
CHMOD Test.ncp
Set the "archive" attribute:
CHMOD Test.ncp A
Set the attributes "hidden" and "read-only"
for the file defined in the #FILESPEC
variable:
CHMOD #FILESPEC HR
#RC
(SUCCESS
if
CHMOD
was successful. FAILURE
if
CHMOD
was not successful.)
Procedure File: | Yes |
Command Line: | No |
Key: | No |
API: | No |