User`s guide

RENAME
(PIP)
Assigns a new name to an existing file.
Format
RENAME in-filespec[s] out-filespec
Command Options
/BEFORE[:date]
/SINCE[:date]
/DATE[:date]
/NEWFILES
/INFORMATION
/[NO]LOG
/[NO]PROTECTION
/QUERY
/[NO]REPLACE
/SETDATE[:date]
/SYSTEM
/WAIT
Parameters
in-filespec[s]
Specifies the file specifications or combination of file specifications to be renamed.
out-filespec
Specifies the new name or acts as a model for the new names if it is a wildcard
specification. For example, the following command tells PIP how to rename MAC
files. The command changes the MAC extension to BAK but leaves the file names
the same:
.RENAME *.MAC *.BAK
Description
You can specify up to six input file specifications but only one output file.
Features of the RENAME Command
The device specification must be the same for input and output; you cannot
rename a file from one device to another.
If a file exists with the same name and file type as the output file you specify,
RT–11 deletes the existing file, unless you use the /NOREPLACE option to
prevent this.
RT–11 Command Descriptions 203