|
Changes the name of a file or a set of files. You can rename all files matching the specified file name. You cannot use
the rename command to rename files across drives or to move files to a
different directory location. rename [drive:][path] filename1 filename2
ren [drive:][path] filename1 filename2
Parameters [drive:][path] filename1 Specifies the location and name of the file or set of files you want to
rename. filename2 Specifies the new name for the file. If you use wildcards (* and ?), filename2
specifies the new names for the files. You cannot specify a new drive or path
when renaming files. |