Del (command)
- 1 min read
- 2 chapters
Related on Lably
Through Computing, Command (computing) and COMMAND.COM
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 rm command and to the Stratus OpenVOS delete_file and delete_dircommands.
DEC RT-11, OS/8, RSX-11, and OpenVMS also provide the delete command which can be contracted to del. AmigaDOS and TSC FLEX provide a delete command as well.
The erase 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 del and erase commands.
While Digital Research DR-DOS supports del and erase as well, it also supports the shorthand form era, which derived from CP/M. In addition to this, the DR-DOS command processor also supports delq/eraq. These are shorthand forms for the del/era/erase command with an assumed /Q parameter (for 'Query') given as well.
THEOS/OASIS and FlexOS provide only the erase command.
In PowerShell, del and erase are predefined command aliases for the Remove-Item cmdlet which basically serves the same purpose.
Sign in to keep reading
One more chapter is free with a Lably account.
Syntax
<span id="mwhg"></span><span class="gp" id="mwhw">></span><span class="k" id="mwiA">del</span> filename <span class="gp" id="mwiQ">></span><span class="k" id="mwig">erase</span> filename

