home *** CD-ROM | disk | FTP | other *** search
- RENAME
-
- REN (or RENAME) is an internal command that gives you the ability to change
- the name of a file. REN can not be used to change directory names. (However,
- see the RENDIR topic for an example of a batch file that can be used to
- rename directories.)
-
- REN [d:][pathname]filename1[.ext1] filename2[.ext2]
- or
- RENAME [d:][pathname]filename1[.ext1] filename2[.ext2]
- \_____________/ \_____________/
- \current name \new name
-
- [d:][pathname]filename1[.ext1] is the current name of the file (or files) to
- be renamed. Multiple files can be renamed by using the wildcard characters.
-
- filename2[.ext2] is the new name. A pathname cannot be specified. You cannot
- rename a file into another directory, so there is no reason to specify a
- pathname. To actually move a file into another directory, use the MOVE
- command.