Skip to content

Dialog Delete File

Digitoxin edited this page Dec 22, 2025 · 4 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

The Delete File dialog can be opened from:

  • Toolbar → Delete File
  • Toolbar → Remove File (If not deleted first)

It may also appear 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 allows you to choose whether the file’s data sectors are preserved or overwritten.


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