User`s guide

UNPROTECT
You must respond to a query message by typing Y (or any string beginning with
Y)
RETURN
to initiate execution of a particular operation. RT–11 interprets any
other response as NO and does not perform the operation.
The following example shows querying. Protection is removed only from the file
DU1:AAF.MAC:
.UNPROTECT/QUERY DU1:*.*
Files unprotected:
DU1:ABC.MAC ? N
DU1:AAF.MAC ? Y
DU1:MERGE.FOR ? N
/SETDATE[:date]
Causes RT–11 to put the date you specify on all files from which it removes
protection. If you specify no date, the current system date is used. If the
current system date is not set, RT–11 places zeros in the directory entry date
position. Normally, RT–11 preserves the existing file creation date when it
removes protection from a file.
The following example removes protection from files and changes their dates to
the current system date:
.UNPROTECT/SETDATE DU0:*.FOR
Files unprotected:
DU0:ABC.FOR
DU0:AAF.FOR
DU0:MERGE.FOR
/SINCE[:date]
Removes protection from only those files created on or after the specified date.
If no date is specified, the current system date is used. The following command
removes protection from all MAC files on DU0 created on or after April 21, 1991:
.UNPROTECT/SINCE:21:APR:91 DU0:*.MAC
Files unprotected:
DU0:A.MAC
DU0:B.MAC
DU0:C.MAC
/SYSTEM
Removes protection from system (SYS) files when you use wildcards in the file
type. If you omit this option in a wildcard operation, the system files are excluded
from the unprotect operation and a message is displayed on the terminal to
remind you of this. This example removes protection from all files on DU0 with
the file name MM, including SYS files:
.UNPROTECT/SYSTEM DU0:MM.*
Files unprotected:
DU0:MM.MAC
DU0:MM.OBJ
DU0:MM.SAV
DU0:MM.SYS
330 RT–11 Command Descriptions