Promotic
WikipediaLinkedInYoutubeTwitterFacebook

DiscGetPath - method of object Pm

Description:
Returns the requested path in Microsoft format..
Syntax:
DiscGetPath(sPmPath As String) As String
Calling:
s = Pm.DiscGetPath(sPmPath)
Parameters:
sPmPath(String) Requested path in PROMOTIC format - see PROMOTIC path to files and folders.
Return Values:
Returns absolute path in Micrososft format
Note:
This method is not functional for Web panels in JavaScript language (and therefore it is not working in Web panels).
Example:
Creates the full name and path to the file "Promotic.ini" in the PROMOTIC folder.
VBScriptSelect and copy to clipboard

Dim sIni
sIni = Pm.DiscGetPath("#pm:Promotic.ini")  'in sIni there will be, for example "c:/Pm/Promotic.ini"
PROMOTIC 8.3.26 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.Tavičská 845/21 703 00 Ostrava-Vítkovice