Rename
Index Prev Next
Synopsis
Rename [{FROM}] <name> [TO|AS] <name> [QUIET]
FROM/A/M,TO=AS/A,QUIET/S
Function
Renames a directory or file. Rename can also act like the UNIX mv
command, which moves a file or files to another location on disk.
Result
Standard DOS error codes.
Example
Rename letter1.doc letter2.doc letters
Moves letter1.doc and letter2.doc to the directory letters.
Rename ram:a ram:b quiet
Rename from ram:a to ram:b quiet
Rename from=ram:a to=ram:b quiet
All versions, renames file "a" to "b" and does not output any
diagnostic information.
|