home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!mcsun!sun4nl!kubds1!hoppie
- From: hoppie@kub.nl (Jeroen Hoppenbrouwers)
- Subject: Re: Idea for a unique delete?(for lack of a better description)
- Message-ID: <1992Aug13.111004.2582@kub.nl>
- Date: Thu, 13 Aug 92 11:10:04 GMT
- Organization: Tilburg University, Tilburg, The Netherlands
- Nntp-Posting-Host: kubix
- Lines: 34
-
- In article <1992Aug12.024411.3787@afit.af.mil>, fkilpatr@afit.af.mil
- (Freeman A. Kilpatrick) writes:
- >Why not just make a 'trash' directory, shadow it to the desktop, then
-
- (stuff deleted)
-
- I caught some people in this tread complaining about the Shredder not
- being able to recover shredded objects. Although you cannot open the
- shredder (reason why all Trashcan imitations posted so far are really
- useful), there *IS* a way to recover shredded items.
-
- Just add the DELDIR= line to your CONFIG.SYS (OS/2 install puts it
- there with a REM in front of it). Put the "trashcan" dir in the line,
- e.g. SET DELDIR=\OS2\TRASH
- You can add some number as well, eg SET DELDIR=\OS2\TRASH,512
-
- Now all files that will be deleted by the system delete call (used
- by both Shredder and the delete commands) will be moved to the TRASH
- dir and not physically erased until this dir exceeds 512 KB.
-
- If it is not yet physically erased, you can recover any file with
-
- UNDELETE former-filename-incl.-path
-
- So this is no hacked undelete that picks up disk sectors, but an official
- OS/2 utility that reads the deleted file back out the DELDIR directory.
-
- In this dir, files are stores in a "proprietary" manner and they are not
- visible with DIR. So, the trashcan approach is still better :-)
- but at least, with a very simple trick, you can recover from deletes.
- In fact, you can even recover from Empty Trash! :-)
-
-
- ---Jeroen
-