REN OR RENAME


Changes the name of a file or folder.

Use

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.

Notes

  • 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.




The A+ Certification & PC Repair Handbook
The A+ Certification & PC Repair Handbook (Charles River Media Networking/Security)
ISBN: 1584503726
EAN: 2147483647
Year: 2003
Pages: 390

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net