Site hosted by Angelfire.com: Build your free website today!

MS-DOS Internal Commands

The REN or RENAME Command

Description:

Renames a file or files.

Command Syntax:

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

Explanation of Syntax:

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

Use MOVE to rename a directory, or to move files from one directory to another.

Command Use:

This command can be used at the command prompt and in batch files.