Commodore PC Ms-Dos 3.2 User's Manual page 150

Table of Contents

Advertisement

78 MS-DOS User's Reference
Ren (Rename)
i
Renaming files
Ren
Synonym:
rename
Purpose:
Changes the name of a file.
Syntax:
ren \drive\pathname pathname
Comments:
The ren command renames all files matching the first pathname.
However, because you cannot rename files across disk drives, the
ren command ignores any drive name that you specify with the
second pathname.
You may use wildcards (* or ?) in either pathname option, but if
you use them in the second pathname, ren will not change the
positions of the corresponding character.
Examples:
The following command changes the extension of all filenames
ending in .txt to .doc.
ren
*.txt
*.doc
In the next example, ren renames a file named chaplO (on drive
B) to parti0:
ren
b:chap10
partiO
The newly renamed filepartlO remains on drive B.
U
U
u
u
u
u
u
u

Advertisement

Table of Contents
loading

Table of Contents