Paxar Gold 6037EX Printer User Manual


 
ROM-DOS Internal Commands 4-21
DEL (DELete)
Internal Command
The DEL command deletes a specified file or set of files.
Syntax
DEL [drive:][path]filename [/P]
Remarks
The DEL command and the ERASE command are functionally identical.
When no drive is specified, the default is assumed. When no path is
specified, the default path is assumed.
Global
filename
characters ? and * (wildcards) can be used in the
filename
. This should be done with caution as it is possible to delete
multiple files unintentionally.
When the
filename
*.* is used to delete all files in the specified
subdirectory, a verification message is displayed:
Are you sure (Y/N) ?
Enter Y to delete all files in the specified subdirectory.
DEL deletes files within a subdirectory, not the subdirectory itself. For
subdirectory removal, refer to the RMDIR command.
Caution: No ROM-DOS command can undelete a file. Although utilities
exist that can attempt an undelete, certain factors can cause
the deleted file to be partially or totally lost. The DEL command
should be treated as a permanent deletion.
Options
The /P option causes DEL to pause and prompt you before each file is
deleted. This option is most useful when deleting files with wildcards.