UND - Undelete Deleted Files The function of this program is to attempt to recover a recently deleted file. The program will accept a command line with input and output disks (which must be different) and an input UIC. It will then scan the input disk index file for all deleted files with that "Owning" UIC. The program will print an error message (warning) if the search of the bitmap shows that a file block has been re-used by another file. It is priveleged and uses IO.RLB to read all the blocks of each file and then create new files on the output device under the current default UIC. This program will only succeed in recovering a file, if the file header has not been reused. Its optimum use would be when a single user accidentally deletes a file and immediately stops all writing to the volume, to avoid losing either the file header or any of the other blocks belonging to the deleted file. Usage: >UND :=:[grp,mbr] Where: is the output device is the input device and must be different from Additional qualifiers: INFORMATIONAL-MESSAGES, ERRORS 2 INFORMATIONAL-MESSAGES UND Informational Messages: UND will display the following message at the start of the recovery for each file: UND -- Recovering filename.typ;ver If UND encounters blocks which are allocated to other files it will print the following message for each block it finds. UND -- *** Warning filename.typ;ver possibly corrupted *** 2 ERRORS UND Error Messages: The following error messages can occur while running UND: 1. Syntax Error, "UND>DOut:=DIn:[grp,mbr]" Command line had invalid syntax. It must have an output device and an input device and UIC. 2. Devices must be distinct The output device must be different than the input device. 3. *** Output File error, error code = (-nn) *** UND encountered an error while opening or writing an output file. will be either FCS or DIR depending on the type of error and -nn is the error code. 4. *** Input Index File error = (-nn) *** UND was unable to read the index file ( [0,0]INDEXF.SYS ) on the input device. will be either FCS or DIR depending on the type of error and -nn will be the error code. 5. *** Input Bitmap File error = (-nn) *** UND was unable to read the bitmap file ( [0,0]BITMAP.SYS ) on the input device. will be either FCS or DIR depending on the type of error and -nn will be the error code. 6. *** ALUN$ failure on input, DIR error code = (-nn) *** UND was unable to assign lun 2, 3 or 4 to the input device. -nn is the directive error code. 7. *** ALUN$ failure on output, DIR error code = (-nn) *** UND was unable to assign lun 1 to the output device. -nn is the directive error code.