Changes the name of a file or folder.
Navigate to the folder that contains the file you want to rename, or to the parent folder of the subfolder you want to rename. Type “REN” followed by the existing file or folder name, a space, and then the new file or folder name. REN cannot be used to move files or folders, so you cannot enter a new path for the file.
You can use wildcards in either or both the existing and the new filenames, with the caveat that the wildcard characters will stand for the same real characters in both names. For example, let’s say that the current folder has three files named test1.doc, test2.doc, and test3.doc. You enter test*.doc as the existing filename and sample*.doc as the new filename. Test1.doc will become sample1.doc, test2.doc will become sample2.doc, and so on.
If you try to rename a file to a filename in use in the same folder, you’ll get an error message and the renaming operation will not proceed.