SpartaDOS X Reference Manual

The Command Processor — Commands




ERASE Command

Index


Purpose

This command deletes the file in the specified directory on the designated drive, or deletes the file from the default drive if no drive is specified. If no path is specified, the file is deleted from the current directory.
 

Syntax ERASE [d:][path]fname[.ext]
 
Alias DEL & DELETE
 
Type Internal
 
Related MENU, UNERASE
 
Remarks   You can use wildcards such as '*' and '?' to delete multiple files, but use caution since no warning is usually given. If you do enter *.* as the specifier, SpartaDOS X will prompt you with:

    Erase ALL: Are you sure?

Any other combination of wildcards and characters will assume you know what you want. Use the VDEL command (in SpartaDOS ToolKit) for a prompted delete or use MENU for tagging files to delete.


Previous page

Next page