Enumerate-Sections
Command Description
Enumerate all the sections in the INI config file
Command Prototype
dictRet = INI.EnumSection(sFile)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
sFile | True | path | '''C:\Users''' | The path of the INI file |
return
dictRet,The variable used to save the output of the command.
Demo
/************************************Enumerate subsections*********** ****************************
Command prototype:
dictRet = INI.EnumSection('''C:\Users''')
Input parameters:
sFile--path where the INI configuration file is located
Outgoing parameters:
dictRet--the result after the command is run
********************************************************************************/
Dim sFile='''C:\Users\Chance\Desktop\testINI\data.ini'''
dictRet = INI.EnumSection(sFile)
TracePrint(dictRet)