REN / RENAME

Renames a file or files.

RENAME [drive:][path]filename1 filename2.
REN [drive:][path]filename1 filename2.

Note that you cannot specify a new drive or path for your destination file.
 

Examples

REN C:\Downloads\file.exe file2.exe

Associated Commands

COPY ; MOVE