Examveda

Which command in DOS can be used to recover accidentally deleted files?

A. UNDELETE

B. DELETE/CANCEL

C. RESTORE

D. RECOVER

Answer: Option A

Solution (By Examveda Team)

UNDELETE is the command in DOS that can be used to recover accidentally deleted files.

When files are deleted in DOS, they are often not immediately erased but rather marked as deleted in the file allocation table (FAT).
The UNDELETE command can sometimes recover these files by restoring the file entries in the directory structure, provided the clusters that held the file data have not been overwritten.
The syntax for using UNDELETE typically involves specifying the name of the file or files to be recovered.

DELETE/CANCEL is not a valid command in DOS for recovering deleted files; it suggests canceling a delete operation.

RESTORE is not a command in DOS for recovering deleted files; it is used in some backup systems to restore backed-up files.

RECOVER is also not a command in DOS for recovering deleted files; it typically refers to recovering data from damaged disks or partitions.

Therefore, the correct answer is Option A: UNDELETE.

This Question Belongs to Computer Science >> Disk Operating System (DOS)

Join The Discussion

Related Questions on Disk Operating System (DOS)