Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate

Barry MacDonnell's
Toolbox for WordPerfect

Macros, tips, and templates for Corel® WordPerfect® for Windows®
© Copyright 1996-2012 by Barry MacDonnell. All Rights Reserved.

Page updated Apr 21, 2011
SHREDDER - "Shred" (delete from disk) the currently open file

Download SHREDDER.ZIP (v1.01; 03/21/04; 4379 bytes)

Compatible with WordPerfect 6 and later version

WordPerfect 11 users: See important information about using macros in the first release of WP11 (11.0.0.233) at the top of this page.

Downloading, Documentation, Modifications, and Support

Disclaimer

Here is a macro that deletes the currently open (i.e., on screen) file after a warning message. Good for periodic cleanups. It saves you time by not requiring you to close the file first, remember its name, find it in the file list, and then delete it from its directory/folder.


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).

It does delete files across a network in WordPerfect 10 and later, at least in the author's tests.

In any case, you can try a similar macro from Charles Rossiter: Delete Current File.wcm.