Copyright Digital Equipment Corp. All rights reserved.

Examples

   1.$ RENAME  AVERAGE.OBJ  OLDAVERAGE

     The RENAME command in this example renames the highest existing
     version of the file AVERAGE.OBJ to OLDAVERAGE.OBJ. If no file
     named OLDAVERAGE.OBJ currently exists, the new file is assigned
     a version number 1.

   2.$ RENAME/NONEW_VERSION  SCANLINE.OBJ;2   BACKUP.OBJ

     The RENAME command in this example renames the file
     SCANLINE.OBJ;2 to BACKUP.OBJ;2. The /NONEW_VERSION qualifier
     ensures that, if BACKUP.OBJ;2 already exists, the RENAME
     command does not rename the file, but instead reports the
     error.

   3.$ RENAME  *.TXT;*   *.OLD;*

     The RENAME command in this example renames all versions of all
     files with the file type TXT to have the file type OLD. The
     file names and version numbers are not changed.

   4.$ RENAME WATER.TXT [.MEMOS]

     The RENAME command in this example changes the directory
     name of WATER.TXT from your default directory to the MEMOS
     subdirectory. (The RENAME command moves the file to another
     directory.)

   5.$ RENAME  [BORDERS.TESTFILES]SAVE.DAT  []TEST

     The RENAME command in this example renames the file SAVE.DAT
     in the directory BORDERS.TESTFILES to TEST.DAT. The new file is
     moved to the current default directory.

   6.$ RENAME COEISABLAST.TXT COEIsABlast.txt

     The RENAME command in this example changes the case of
     COEISABLAST.TXT to COEIsABlast.txt. You must be on an ODS-
     5 disk and previously have used the SET PROCESS/CASE_
     LOOKUP=SENSITIVE command for this RENAME command to work
     properly.