Del (command)

In computing, codice_1 (or codice_2) is a command in command-line interpreters (shells) such as codice_3, codice_4, 4DOS, NDOS, 4OS2, 4NT and Windows PowerShell. It is used to delete one or more files or directories from a file system.
Implementations.
The command is available for various operating systems including DOS, Microware OS-9, IBM OS/2, Microsoft Windows and ReactOS. It is analogous to the Unix codice_5 command and to the Stratus OpenVOS codice_6 and codice_7commands.
DEC RT-11, OS/8, RSX-11, and OpenVMS also provide the codice_8 command which can be contracted to codice_1. AmigaDOS and TSC FLEX provide a codice_8 command as well.
The codice_2 command is supported by Tim Paterson's SCP 86-DOS. On MS-DOS, the command is available in versions 1 and later. It is also available in the open-source MS-DOS emulator DOSBox.
Datalight ROM-DOS also includes an implementation of the and commands.
While Digital Research DR-DOS supports codice_1 and codice_2 as well, it also supports the shorthand form codice_14, which derived from CP/M. In addition to this, the DR-DOS command processor also supports codice_15/codice_16. These are shorthand forms for the codice_1/codice_14/codice_2 command with an assumed codice_20 parameter (for 'Query') given as well.
THEOS/OASIS and FlexOS provide only the codice_2 command.
In PowerShell, codice_1 and codice_2 are predefined command aliases for the codice_24 cmdlet which basically serves the same purpose.
Syntax.
del filename
erase filename