DELETE

delete.html
Format:   DELETE { (name | pattern) } [ALL] [QUIET] [FORCE]
Template: FILE/M/A,ALL/S,QUIET/S,FORCE/S
Location: C:

Delete attempts to erase the files requested. You can delete more than one item at a time by listing them seperatly or by useing the wild card option. The pattern for a multiple delete can be set to delete directories as well as names. To abort a mulitple delete, press CTRL+C. A multiple item delete will will terminate when and if it comes to a file that can not be removed. Delete will list files it can not remove.

AmigaDOS will not ask for comfirmation of a deletion. Unless you are familiar with the command do not do pattern matching. make a complete back up before make and deletions.

An error message will warn you that you cannot delete directories that still contain files. By using the ALL option you can overide this. DELETE ALL, deletes the named directories, its subdirectories, and all files.

To suppress File names being displayed on the screen as they are deleted, use the QUIET option.

If the d (deletable) protection bit of a file or directory has been cleared, that item can not be deleted unless the FORCE option is used.


Example: