beautypg.com

Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual

Page 102

background image

4-60 ROM-DOS Internal Commands

R E N ( R E N a m e )

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.

Example

s

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.