« Back to Product

Documentation

IPS_GetKernelDirEx

Require: IP-Symcon >= 4.0

 string IPS_GetKernelDirEx ()

Returns

The full path to the IP Symcon installation folder

Description

The function returns a string containing the full path to the IP Symcon installation folder. Depending on the operating system, the path contains a trailing slash ("/") or backslash ("\").

Example

echo IPS_GetKernelDirEx(); 

// Examplary output:
/*
// Windows
C:\Programs\IP-Symcon\

// Linux, RaspberryPi
/usr/share/symcon/

// MacOS
/Applications/Symcon.app/Contents/Service/
*/
Any questions?