Promotic
WikipediaLinkedInYoutubeTwitterFacebook

FileDelete - method of object Pm

Description:
Deleting the file.
Syntax:
FileDelete(sFile As String) As Boolean
Calling:
Pm.FileDelete sFile
Parameters:
sFile(String) File name (with path) to delete. If a full path is not entered, it is completed relatively according to the application file folder.

It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files and folders.

Return Values:
true - operation passed successfully
false - operation failed
Note:
The method can be used for multiple deleting (e.g. *.*).
 
This method is not functional for Web Panels.
Example:
Pm.FileDelete "#temp:*.dat"
Navigation:
 
- Pm
 
- Abs
- Cos
- E
- Exp
- FileDelete
 
 
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice