PM UNDELETE for OS/2 Version 1.40 1 May 95 __________________________________________________________________ PM UNDELETE is a GUI program for a quick recovery of deleted files. OS/2 offers a feature which allows the recovery of deleted files. However, the control program for this feature is a command line driven tool with poor comfort: The OS/2 program UNDELETE. PM UNDELETE is an easy-to-use PM program to undelete deleted files to their original directory or to the system's TMP directory. Deleted files may be also be sent to Nirwana, that is, their deletion is made permanent. (This corresponds to the /F option of the OS/2 UNDELETE command.) PM UNDELETE is also able to display deleted files in order to explore their contents before performing any actions. PM UNDELETE uses the OS/2 program UNDELETE.COM to do its job. This means that PM UNDELETE does not rely on a specific version of OS/2 nor does it use undocumented system calls or other quirks!!! This feature is sometimes called 'compatibility'. This program is FREEWARE and may be distributed together with this documentation to all OS/2 users!!! __________________________________________________________________ ___ Installation _________________________________________________ Copy PMUNDEL.EXE and PMUNDEL.ICO (or another icon you prefer) to a directory in your PATH. You should install a program object for PMUNDEL.EXE on the desktop for a quick access! Be shure that the variable TMP is set in the OS environment and that it points to a directory for temporary files. (e.g. SET TMP=C:\TMP ) Be shure that the variable DELDIR is set in the OS environment for all drives on which the recovery of deleted files is desired. Refer to your OS/2 user manual (online) for more information. (e.g. SET DELDIR=C:\TMP\DELETE;D:\DELETE ) __________________________________________________________________ ___ Usage ________________________________________________________ Start PMUNDEL.EXE. If you start the program from the OS/2 command line be shure to add the command line parameter "/refresh". (See also 'bug list' below!) PM UNDELETE displays all drives which support the recovery of deleted files (that is, all files specified in the DELDIR variable). Select a drive and press the refresh button or double click the drive. Refresh may be clicked whenever another process has erased files and the list of files being deleted (for the selected drive) should be updated. PM UNDELETE displays all files which can be recovered. Select the desired files (extended multiple selection). By pressing the appropriate button you can undelete the selected file(s) to their original directory or to the TMP directory. 'Deleting files forever' means that the files may not be recovered any longer. 'Deleting files forever' means that the files may not be recovered any longer. (Corresponds to the /F /A options of the OS/2 UNDELETE command.) 'Viewing files' means that all selected files can be displayed by an internal viewer. The viewer displays all selected files one by one and supports vertical and horizontal scrolling and binary file handling. If a file contains more than 500 lines, the viewer asks whether the whole file should be displayed or whether it may be truncated for viewing. It is sooo easy. Note: The moving banner may be disabled by the menue option "Disabled banner". This may be useful in the case that this feature consumes too much CPU time on your system. Starting the program with the command line option "/nobanner" disables the moving banner from the beginning. __________________________________________________________________ ___ Bugs _________________________________________________________ PM UNDELETE has a bug causing an incorrect display of the dialog window if being started from the OS/2 command line. This is due to a bug either in the DrREXX window handler or in the corresponding OS/2 subsystem. A workaround for this bug (since it is now documented, hence I will call it a feature...) is to start the program with the command line option "/refresh". (e.g. pmundel /refresh ) This will redraw the dialog window after a call to OS/2 UNDELETE. If PM UNDELETE is started directly from the WPS via a program object, via a program file object or via a PM shell (such as PC/2) the dialog window will be displayed properly! __________________________________________________________________ ___ History ______________________________________________________ V1.00 - Released V1.01 - Switch "/refresh" added V1.10 - Pre-Viewer added V1.11 27-12-93 - Bug fixed that caused invalid refresh on systems with drives x1 ... xi, xi+2 ... xn - Bug fixed in documentation that caused illegal e-mail address (@#+!) V1.20 27-04-94 - All program windows may be resized and/or maximized - Menu control added for viewer - "About" button removed (it's not that urgent to be present all the time) V1.21 05-06-94 - Bug fixed in handling filenames with blanks V1.22 10-06-94 - Now able to handle a TMP path specification with forward slashes (vital for EMACS users) V1.30 10-07-94 - Command line option "/nobanner" added - Menue "Options" added - Moving banner may be disabled/enabled V1.31 01-11-94 - Recompiled for use with OS/2 Version 3 (WARP) V1.40 01-05-95 - Bug fixed that caused some problems on non-german versions of OS/2 __________________________________________________________________ ___ Acknowlegdements _____________________________________________ PM UNDELETE is a REXX program designed and created using the superior and phantastic DrDIALOG/DrREXX environment written by David C. Morill. Thanks to him, he has done a great job!!! __________________________________________________________________ ___ Usage ________________________________________________________ Comments, criticism and postcards may be sent to: affie@watson.ibm.com Snail Mail: Ralf Hauser 16 Sunset Drive Bedford Hills 10507 U.S.A