Rob van der Woude's Scripting Pages

The DEL command: OS/2 syntax

Use the ERASE or DEL command to delete one or more files.

Syntax:

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

where:

drive:\path\filename Specifies the file to delete. Global file name characters * and ? can be used in the file name specified.
/P Prompts for confirmation before deleting each file.
/N Prevents the message "Are you sure (Y/N)?" from being displayed as files are deleted.
/F Permanently deletes a file. (The file cannot be recovered with the UNDELETE command.)

Related Stuff


page last modified: 2023-01-27; loaded in 0.0014 seconds