ERASE
From Recital Documentation Wiki
Revision as of 15:08, 17 March 2009 by Yvonnemilne (Talk | contribs)
Contents
ERASE
Class
Disk and File Utilities
Purpose
Delete a file or files
Syntax
ERASE <filename> | (<expC>) | <file list>
See Also
ALIAS, DELETE, RUN, SET SAFETY
Description
The ERASE command deletes the specified file or comma-separated file list. If no directory specification is present in the filename, then the file is deleted from the current directory. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. When deleting a file, ERASE does not follow the directory search path specified with the SET PATH command. On OpenVMS, all versions of the file will be deleted.
Example
if file("backup.old") erase backup.old endif
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer