PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: FileCopy()[Next]: FileGetTmpName()
\ -> Rexx -> Inbuilt PPWIZARD Functions -> FileDelete()

FileDelete()

This is an inbuilt function function provided by PPWIZARD.

This routine is used to delete a file. It first closes the file in case it is open. By default the routine terminates PPWIZARD processing if the delete fails. It is not an error for the file not to exist.

This routine takes these parameters:

  1. FileName
    This is the name of a file being deleted.

  2. How
    Optional parameter which defaults to 'Y', valid options are:

    1. "Y": - Delete file, die on failure.

    2. "N": - Delete file, ignore failure to delete (a non-zero return code indicates failure).

    3. "Q": - Delete file when PPWIZARD terminates (queued).


email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: FileCopy()[Next]: FileGetTmpName()


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Saturday May 28 2022 at 2:55pm