oem.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
RENAME--Examples
Syntax  Notes
────────────────────────────────────────────────────────────────────────────
 
                              RENAME──Examples
 
Suppose you want to change the extensions of all the filenames in the
current directory that have the extension .TXT; for example, suppose you
want to change the .TXT extensions to .DOC extensions. To make this change,
type the following command:
 
    ren *.txt *.doc
 
To rename a file named CHAP10 (on drive B) to PART10, type the following
command:
 
    ren b:chap10 part10
 
The newly renamed file PART10 remains on drive B.
 
                                      ♦