Ren/ rename


With the ren or rename command you can rename files or directories.

Example:

C:\>ren banana.doc apple.doc


Result:
Banana.doc is now called apple.doc

You can also use wildcards (*) in the command line:

Example:

C:\>ren *.doc *.txt


Result:
Every file with the doc extension in the directory has now the txt extension.

Sponsors