Destroy Command [DES/:D]
Purges the current workfile, a named MPE file, a Copylib member, or a spool file, after first verifying with the user.
DESTROY [
filename ]
(Default: current workfile)
The filename parameter can be the name of any file that you have write access to, “$” to refer to the “last” file name mentioned in another command, or “*” to refer to either the current workfile or, if none is currently open, the one just Shut. To purge a Copylib member, put the name in parentheses and do a :File command for “copylib”. To purge a native-mode spool file, just refer to the number preceded by a #.
Examples
/destroy crept23.dead CREPT23.DEAD.GREEN,OLD Qedit File, # of lines=162 Purge file [no]? Oui {that's French for Yes} /open ctemp /des * CTEMP.BOB.GREEN,OLD Qedit file, # of lines=15 Purge file [no]? {Return key means "no"} File NOT purged /list datapg2 {check contents of file} /destroy $ {...then purge it} /destroy #o1234 {purge an NM spool file} /file copylib=copylib.pub.develop /destroy (custrec)
Notes
The MPE urge command also purges files, but it does not ask for your approval first. If you abbreviate the Purge command (as in PU), you are sent to the Destroy command instead.
If you are purging an opened file that is “clean” (that is, a file that has not been changed since the last save), Qedit does not ask for approval before purging the file.