FileDelete - method of the Pm object
Deletes the file.
Boolean FileDelete(String sFile)
|sFile||(String) The file name with the path to delete. |
If a full path is not entered, then it is completed relative to the application folder.
It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files and folders.
true - on success
false - on error
The method can be used for multiple deleting (e.g. *.*
This method is not
functional in Web panels
var bFileDelete = Pm.FileDelete("#temp:*.dat");