/sys$common/syshlp/helplib.hlb
RENAME, Examples

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    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.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.