Paxar Gold 6037EX Printer User Manual


 
4-60 ROM-DOS Internal Commands
REN (REName)
Internal Command
The REN command changes the name of a file.
Syntax
REN [drive:][path]filename1 filename2
Remarks
REN renames files within a directory; it does not move a file to a different
drive or directory as part of the command.
The wildcard characters * and ? may be used to rename more than one
file at a time.
ROM-DOS does not allow you to give a file a name that matches the
name of an existing file in the same directory.
Examples
REN B:NOTES.DOC REPORT.DOC
Renames the file NOTES.DOC in drive B: to REPORT.DOC.
REN *.DOC *.TXT
Assigns the extension .TXT to all files with the current extension .DOC.