Site hosted by Angelfire.com: Build your free website today!

MS-DOS Internal Commands

The DEL and ERASE Commands

Description:

Deletes one or more files.

Command Syntax:

DEL [drive:][path]filename [/P]
ERASE [drive:][path]filename [/P]

Explanation of Syntax:

[drive:][path]filename specifies the file(s) to delete. Specify multiple files by using wildcards.
[/P] prompts for confirmation before deleting each file.

Command Use:

This command can be used at the command prompt and in batch files.