beautypg.com

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

Page 110

background image

3-52 ROM-DOS 6.22 User Manual

7/9/98

E R A S E

Internal

Purpose

Deletes a specified file or set of files.

Syntax

ERASE [d:][path]filename [/P]

Remarks

DEL and ERASE are functionally identical.

When no drive is specified, the default drive is assumed. When no
path is specified, the default path is assumed.

The wildcards ? and * can be used in the filespec. This should be
done with caution to avoid deleting multiple files unintentionally.

When the filespec *.* is used to delete all files in the specified
subdirectory, a verification message is displayed:

Are you sure (Y/N) ?

Type Y only if you want all files in the specified sub directory to be
erased (deleted).

CAUTION

There is no ROM-DOS command to undelete a file. Although

utilities exist which can attempt an undelete certain factors

can cause the erased file to be partially or totally lost. The

ERASE command should be treated as a permanent erase.

ERASE deletes files within a subdirectory, not the subdirectory itself.
For subdirectory removal, see the RMDIR command.