Promotic
WikipediaLinkedInYoutubeTwitterFacebook

DirCreate - method of object Pm

Description:
Creates the folder (directory).
Syntax:
DirCreate(sDir As String) As Boolean
Calling:
Pm.DirCreate sDir
Parameters:
sDir(String) Relative or absolute path and folder name that has to be created.

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

Return Values:
true - on success
false - on error
Note:
If a relative path is entered, then it refers to the folder of the running application.
 
This method is not functional for Web panels in JavaScript language (and therefore it is not working in Web panels).
Example:
VBScriptSelect and copy to clipboard

Pm.DirCreate "/Proj/Data"
PROMOTIC 9.0.0 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
- Pm
 
- Abs
- Cos
- DirCreate
 
 
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice