Article 125 of comp.sources.amiga: Path: fishpond!mcdphx!asuvax!ukma!wuarchive!usc!elroy.jpl.nasa.gov!news.larc.nasa.gov!amiga-request From: amiga-request@ab20.larc.nasa.gov (Amiga Sources/Binaries Moderator) Newsgroups: comp.sources.amiga Subject: v91i067: NoDelete 1.5a - intercept DeleteFile() requests, Part01/01 Message-ID: Date: 21 Mar 91 12:49:12 GMT Reply-To: hoover@math4.uni-bielefeld.de (Uwe Sch"urkamp) Lines: 824 Approved: tadguy@uunet.UU.NET (Tad Guy) X-Mail-Submissions-To: amiga@uunet.uu.net X-Post-Discussions-To: comp.sys.amiga.misc Submitted-by: hoover@math4.uni-bielefeld.de (Uwe Sch"urkamp) Posting-number: Volume 91, Issue 067 Archive-name: utilities/nodelete-1.5a/part01 [ includes uuencoded executable ...tad ] CHANGES TO VERSION 1.4: MAR 1991 Switched to ARP (finally). This great bunch of routines should have experienced a wide enough distribution by now to make this acceptable. Cheers to everyone involved in this project! ARP is used to do the pattern matching on filenames. No more restriction is made on the patterns. They can be complete filenames or just patterns, with every ARP wildcard allowed. I forgot the name of the guy who suggested this one, and answers by UUCP is not a favourite of math4.unibi.de. Anyway, as soon as this is implemented, you'll get a "thank you", mate! WHAT IT DOES NoDelete enables you erraneous humans to once again reflect on the righteousness of your decisions concerning the deleting of files on AmigaDos devices. If you try to delete a file or a program tries to remove it, this is mostly done via DeleteFile() of the dos.library. When executed, NoDelete bends this vector to its own routine which brings up this cute little requester on the active window. This requester contains the name of the file that the system is trying to delete. If you really want to delete this file, click to the "Yes, Delete!" gadget. If not, click to the "Oops, no way!"-Gadget of the requester. NoDelete works just fine with aliases, wildcards etc. For problems see the "known bugs"-section of this text.