Promotic
WikipediaLinkedInYoutubeTwitterFacebook

DirRemove - method of object Pm

Description:
Remove of the folder (directory)..
Syntax:
DirRemove(sDir As String) As Boolean
Calling:
Pm.DirRemove sDir
Parameters:
sDir(String) Relative or absolute path and folder name.

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:
If a relative path is entered, it refers to the folder of the running application. The method fails if the folder is not empty. The method cannot be used for multiple remove of folders (e.g. "*.*").
 
This method is not functional for Web Panels.
Example:
Pm.DirRemove "/Proj/Data"
Navigation:
 
- Pm
 
- Abs
- Cos
- DirRemove
 
 
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice