beautypg.com

Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual

Page 158

background image

3-100 ROM-DOS 6.22 User Manual

7/9/98

R E N ( R E N a m e )

Internal

Purpose

Changes the name of a file.

Syntax

REN [d:][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 ? can 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.