Name
ren or rename
Synopsis
Use ren
to rename any single file or directory, or
even several files at once via wildcards, *
and
?
. The syntax is:
ren [filename1
] [filename2
]
where filename1
is the name of the
existing object, and filename2
is the new
name to assign.
Examples
rename myfile.txt file.txt ren "chap 5.doc" "sect 5.doc" ren chap?5.doc sect?5.doc ren chap*.doc revchap*.doc ren *.htm *.html
Get Windows XP Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.