Top Navigational Bar

Using the REN (RENAME) Command
DocumentID: 643066
Revision Date: 29-Feb-96 8:18:49 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: The REN (or RENAME) command renames the specified filename to a new name in the search directory. Wildcards can be used if conditions permit.

REN 1.X 1X      Renames the file 1.X to 1X.

REN C:\*.BK1
*.BAK            Renames all files with a BK1 extension in the root directory to the same filename, but with a BAK extension. Note: This will only work if there are currently no files in the directory that have filenames equal to the resulting filenames. Hence, if you have a file or a directory called TEMP and you try to rename another file to TEMP, you will receive an error message.

REN * *.TXT      Renames all files with no extension to files with the same name, but with a TXT extension.

See also 1098_WP50.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.