The INI file format includes text-based initialization information for programs. Its structure is composed of "sections" and "properties".
INI
is a file format for saving configurations. They are basic text files with a specified format. An INI file contains key/value pairs, which are divided into sections. For example, an INI file for a mobile phone OS could look like this.
[graphics]
login_screen=mountains
desktop_back=earth_from_space
look_and_feel=classic_layout
[securite]
enable_password = true
;should a password be required to unlock the phone
password_on_unlock = true
password = AC4d201cxDAc30F5AC4d201cxDAc30F5
A section name is put between square brackets. Each line after the section title contains a key/value pair, separated by an equals sign (=). Lines starting with a semicolon are comments.
The INI
file format is not well defined, many implementations handle INI
files differently.
Some ignore whitespaces in key or value names, while some don't. Some implementations allow for the number sign (#) for comments, while some others don't.