This page was last modified 14:10, 6 June 2020 by Mars2000you.



It's a tool provided by ASCII Corporation with MSX-DOS 2.



Recovers previously deleted files and folders.

Files and folders can only be undeleted if they have been deleted using MSX-DOS 2 on an MSX-DOS 2 formatted disk and if no disk allocation has taken place since the deletion, which usually means that they have to be undeleted immediately after they have been deleted.

When a directory removed with the RMDIR or RD command has been restored, you can use try to restore the contents of this folder, by using UNDEL again while specifying the name of this directory.


UNDEL <Device>:\<Path>\<Filename>

Note: Character backslash (\) serves as a separator between the folders and the file name in MSX-DOS2. You don't have to put it after the colon of the device name. Backslash is replaced by the character yen (¥) on Japanese MSX or the character won (₩) on Korean MSX.


<Device> is the name for used device. It can only be a disk drive.

If you don't specify the drive, the computer will delete file(s) on the currently active drive (by default, it's drive A:)

Device type Device name Remark
Disk drive A, B, C, D, E, F, G, H A floppy disk interface can control until 2 drives.

<Path> is used to specify the location in folders of file or folder to recover. Each folder name in path are separate by a backslash (\).

<Filename> is the file name to recover. Wildcards can replace some characters in filename to recocer several files. The asterisk (*) and question mark (?) are used as wildcard characters. The asterisk matches any sequence of characters, whereas the question mark matches any single character.

Without file name, UNDEL will try to recover all files and folders of the current active folder or the specified folder, what corresponds to *.*



Related to



  • MSX1 and higher
  • MSX-DOS 2 / Nextor