| Barry MacDonnell's
Toolbox for WordPerfect
Macros, tips, and
templates for Corel® WordPerfect® for Windows®
| Page updated May 9, 2015
|SHREDDER - "Shred" (delete from disk) the currently open file|
Shredder.wcm is a macro that will delete the currently open (i.e., on screen) file after a warning message.
It's good for periodic cleanups because it saves time by not requiring you to close the file first, remember its name, find it in the Windows Exploer file list, and then delete it from its directory/folder.
Simply play the macro and it will pop up a dialog, "Do you want to PERMANENTLY DELETE <name of file>?" Click the Yes button and the file is deleted.
The method the macro uses is essentially the same as using Windows to delete the file (i.e., with Delete in Windows Explorer). These methods merely remove the file's name from the (internal) Windows directory, or worse, they move the file to the Recycle Bin. This makes the file potentially recoverable (e.g., using a third party utility like UndeletePlus).
If you wish to securely delete the file, you will need a utility program designed for the purpose. Many such exist, and many are free. See for example (and without endorsing them): CyberShredder, Eraser, et al.
Note about certain WordPerfect versions (WP8, WP9)
This macro does not work to delete files across a network using even fully patched versions of WordPerfect 8 and WordPerfect 9 under Windows XP (and perhaps other modern operating systems). It might even hang or crash these WordPerfect programs, since WP8 was not designed for later operating systems, and WP9/sp4 was a complete rewrite of the program (and it might not have been completely compatible with some networks).