Skip to content
⌘ NSIS Forum Archive

How to read INI file wih all sections and values

4 posts

nitaparmar#

How to read INI file wih all sections and values

Hi,

I want to read .ini file with all the sections and key value pair. Is there any function which gives name all the section available in .ini file?
Anders#
No, not really...you could:

a) call the ini api directly with the system plugin

b) parse the ini yourself line by line

c) redesign your .ini layout with entries like count=2 item1=foo item2=bar
Animaether#
should really have a peek here...


of interest to you, specifically..