Rename Command Examples Below are several examples showing how you can use the rename command. To return to the original file name structure (the use of a, b, c, etc), you must rename each file individually. The rename command can only be used to rename files in the system folders of the current Windows installation, in removable media, in the root folder of any partition, or in the local installation source. If you use the Windows XP Rename function in Windows Explorer, after you select the three "smith" files, and rename smitha.doc to smythea.doc, all the other files you selected are named smythea(x).doc. All file names automatically show the new spelling, and are renamed smythea.doc, smytheb.doc, and smythec.doc. For example, if you had files that are named smitha.doc, smithb.doc, and smithc.doc, you could use the ren smith*.doc smythe*.doc command. The Rename function in Windows Explorer does not match the behavior of the REN command you may use at a command prompt. If you make a mistake when you try to rename multiple files, you can press CTRL+Z, or click Undo Rename on the Edit menu to undo file rename action you just completed, and you can repeat this process as needed. Some apps may not allow you to use a slash (/) in a filename. All of the remaining selected files are named BUDGET(x), where x is a unique number, starting with (1). You cant include a colon (:) or start the name with a period (.). For example, if you type BUDGET as the new name, the first file is named BUDGET. When you rename multiple files, all of the renamed files have the same name with a number in parentheses appended to the name to make the new file name unique. However, after you press ENTER, all of the files are renamed. NOTE: When you complete the preceding steps, the highlighted state of all files except one disappears, so it may appear as if you are only renaming one file. To do so, press and hold down the CTRL key while you are clicking files. To do so, click Start, point to All Programs, point to Accessories, and then click Windows Explorer. By default REN with a wildcard will only rename the files in a single folder, to recurse down into sub folders use a FOR /R command, after first changing to the. This step-by-step article describes how to use Windows Explorer to rename multiple files in Windows XP. How to Rename Multiple Files with Windows Explorer
0 Comments
Leave a Reply. |