Contents | < Browse | Browse >
DELETE [-R] [-Q] source1 [source2] [source3] ... [FORCE]

* Deletes one or more files or directories ("source1","source2",...).
* "source" can be a  wild card  file description.
* If you specify the -r  option  when deleting a directory,
  then all subdirectories are recursively deleted also. Otherwise (if the -r
  option is not given) only the files in the specified directory are deleted.
* To be safe, delete requests you to really delete a file. You can answer
  with "Y" (yes) or RETURN if you want this file to be deleted
       "N" (no) if you do not want this file to be deleted
       "A" (all) if you do not want to be asked anymore
       "Q" (quit) if you want to abort deleting.
  To avoid asking, use option -q , but be careful !
* Ever got the problem with thousands of delete-protected files ?
  Solution is simple: Use FORCE as last option.

NOTE 1: "delete RAM:BLA" (BLA is a directory) tries
  to delete the directory "BLA", not the files in there !
  Use "delete RAM:BLA/*" (deletes only the files in there)
  or "delete -r RAM:BLA" (deletes all files and directories inside,
  then tries to delete BLA itself) for that !
NOTE 2: You can use  option  ALL instead of -R .

WARNING 1: You can hardly get back what you have deleted !
  So be careful, especially when using the -r option !
  (Try DISKSALV for getting lost files back, DO NOT USE DISCDOCTOR!)

WARNING 2: To delete (hard- or soft-)links you have to use  wild cards  !
  So instead of "delete c:linkname" use with OS1.3- "delete c:linkname|"
  and with OS2.0+ "delete c:(linkname)".

eg.     delete fred wilma barney betty dino
        delete df0:devs df1:c df1:data ram:
        delete menu/* force
        delete -r devs:
        delete -r df1:  {better use "delete device df1:"}