$cs.Ini_ReadEntry

Syntax

$cs.Ini_ReadEntry(string filepath, string section, string variable)

 

Parameters

filepath

Path to ini file

section

Section in ini file to read from

variable

Variable name under section to read from

Example

$inifile="$env:ProgramFiles\QGIS $global:productversion\apps\qgis-ltr\resources\qgis_global_settings.ini" $version=$cs.Ini_ReadEntry($inifile, "migration", "firstRunVersionFlag")

returns string

Â