Promotic

DiscGetPath - method of the Pm object

Description:
Returns the requested path (eventually also file name) in Microsoft format.
Syntax:
String DiscGetPath(String sPmPath)
Parameters:
sPmPath(String) Requested path in PROMOTIC format - see PROMOTIC path to files and folders.
Return value:
Returns absolute path in Micrososft format.
Note:
This method is not functional in Web panels.
Example:
Creates the full name and path to the file "XY.ini" in the application folder.
JavaScriptVBScriptSelect and copy to clipboard

var sIni = Pm.DiscGetPath("#app:XY.ini");   // in sIni there will be, for example "C:\Promotic\Apps\Application1\XY.ini"
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
- Pm
 
- Abs
- Cos
- DiscGetPath
 
 
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r.o.