Rename Ü
ßßßßßßß
Renames a file.
Syntax: RENAME filename1 filename2
REN filename
filename1
Specifies the file you that is to be renamed.
filename2
Specifies the renamed file.
Using wildcards with rename
You can use wildcards (* and ?) in either filename parameter. If you
use wildcards in filename2, the characters represented by the wildcards
will be identical to the corresponding characters in filename1.
Limits
You cannot use the rename command to rename files across drives,
to move files to a different directory location, or to rename
subdirectories.
Example:
The following example renames the file TEST.TXT to EXAM.DOC.
C:\>ren test.txt exam.doc