Skip to content

Dialog Delete File

Digitoxin1 edited this page May 6, 2026 · 5 revisions

Delete File

Delete File Dialog

The Delete File dialog confirms deletion of a file from the disk image and allows control over how the file's data sectors are handled.

This dialog follows DOS-style deletion semantics.


How to Open

  • Context Menu: Delete File (in the Directory and File Panel)
  • Context Menu: Remove File (when the file has not already been deleted)

The dialog also appears when deleting multiple selected files.


Overview

Deleting a file does not immediately remove its directory entry. Instead, the file is marked as deleted by modifying the directory entry, consistent with how deletion works in DOS filesystems.

The dialog provides a choice between preserving or overwriting the file's data sectors.


Confirmation Message

The dialog displays a confirmation prompt identifying the file to be deleted:

Are you sure you wish to delete <filename>?

This helps prevent accidental deletion.


Fill Sectors With

This option controls how the file's data sectors are handled after deletion.

  • Keep Data
    Leaves the file's data sectors unchanged.
    Only the directory entry is marked as deleted.

  • 0xF6
    Overwrites the file's data sectors with the value 0xF6.
    This matches common DOS disk formatting behavior.

  • 0x00
    Overwrites the file's data sectors with 0x00.

Overwriting data can be useful when cleaning images or preparing disks for archival or distribution.


Buttons

Yes

Deletes the file using the selected sector fill option.


No

Cancels the operation and leaves the file unchanged.


Notes

  • Deleted files remain visible in the directory structure until overwritten or removed.
  • Data overwriting affects only the file's allocated sectors.
  • This operation modifies the disk image.

Clone this wiki locally