Center for Technical Education
Computer Technology
Internal DOS Commands


ABOUT REN (rename)
   Used to rename files and directories from the original name to a new name.

    In earlier releases of MS-DOS instead of using ren or rename you need to use the move command to rename your MS-DOS directories or files.
REN (rename) SYNTAX
   Renames a file/directory or files/directories.

      RENAME [drive:][path][directoryname1 | filename1] [directoryname2 | filename2]
      REN [drive:][path][directoryname1 | filename1] [directoryname2 | filename2]

     Note that you cannot specify a new drive or path for your destination.
EXAMPLE
    rename c:\rope trope -This would rename the directory rope to trope. Once you have specified the path of the file that you are renaming you would then just want to rename the file and or directory.