User`s guide
PROTECT
(PIP)
Protects a file so you cannot delete it until you remove the protection (see the
UNPROTECT command).
Format
PROTECT filespec[s]
Command Options
/BEFORE[:date]
/SINCE[:date]
/DATE[:date]
/NEWFILES
/EXCLUDE
/INFORMATION
/[NO]LOG
/QUERY
/SETDATE[:date]
/SYSTEM
/WAIT
Parameter
filespec[s]
Specifies the file or files you want to protect. You can explicitly specify up to
six file specifications if you separate the files with commas. You can also use
wildcards in the file specifications.
Description
Some options accept a date as an argument. The format for specifying the date is:
[dd][:mmm][:yy]
where:
dd specifies the day (a decimal integer in the range 1–31).
mmm specifies the first three characters of the name of the month.
yy specifies the year (a decimal integer in the range 73–99).
The default value for the date is the current system date. If you omit any of the
date values (dd, mmm, or yy), RT–11 uses the values from the current system date.
For example, if you specify only the year 90 and the current system date is May 4,
1991, RT–11 uses the date 4:MAY:90. If the current date is not set, it is considered
0 (the same as for an undated file in a directory listing).
194 RT–11 Command Descriptions










