MAINSAIL Utilities User's Guide, Chapter 9

previous   next   top   contents   index   framed top   this page unframed


9. DELFIL, File Deleter

Command line syntax: delfil {fileName}*

The MODULE DELFIL allows you to delete one or more files from within MAINSAIL. It prompts for the name of each file to be deleted, or accepts the file names on the command line. A message is written if a file cannot be deleted.

Example 9–1 shows how to use DELFIL to delete files. The files foo, bar, and baz are deleted.

Example 9–1. DELFIL Example
MAINSAIL (R) Version 16.20.<release> (? for help)
Revision: <date>
Copyright (c) 1984-1998 by XIDAK, Inc., Point Arena,
 California, USA.

*
delfil<eol>
Next file to be deleted (just eol to stop): foo<eol>
Next file to be deleted (just eol to stop): bar<eol>
Next file to be deleted (just eol to stop): baz<eol>
Next file to be deleted (just eol to stop): <eol>
*

                
Alternatively:

*
delfil foo bar baz<eol>
*


previous   next   top   contents   index   framed top   this page unframed

MAINSAIL Utilities User's Guide, Chapter 9