• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

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

PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint