With &xwp;, "deleting" an object normally means moving it to the &xwp; trash can. The trash can collects all items that have been deleted and allows you to recover objects that were deleted accidentally.

There are several ways to delete an object:

Remarks:
  1. Some objects are protected against deletion. For files, this can be the case if they have the "system" or "read-only" file attributes set. Besides, objects of certain classes cannot ever be deleted if they are crucial to the system's operation.

  2. Deleting a shadow does not delete the object that the shadow points to, but the shadow only.

  3. If you want to immediately delete the selected objects, without moving them to the trash can first, hold down the "Shift" key when selecting the "Delete" menu item or pressing the "Delete" key. Be warned that this operation normally cannot be undone: the selected objects are destroyed for good.

  4. Depending on the settings on the "Confirmations" page in the &link_wpsobj;, &xwp; will display a confirmation message before permanently deleting objects.

  5. If you prefer to always immediately delete objects, instead of moving them to the trash can first, enable the respective setting on the first properties page in the trash can's properties notebook.

  6. There are ways to recover file-system objects that have been accidentally deleted with the use of the UNDELETE command on the &os2; command line. However, this requires that support for this be enabled first. See the documentation of the UNDELETE command in the &os2; Command Reference.

  7. You can disable &xwp;'s delete replacements on the "Features" page in the "&xwp; Setup" object.
For related information, select from the list below: