Configuration settings file | |
---|---|
Filename extension | .ini |
Internet media type | text/plain + |
Type | Configuration file |
File formats category - |
Configuration settings files (.ini) are used by programs to persist user settings outside of its lifetime.
Format[]
- Parameters
The basic element contained in an INI file is the parameter. Every parameter has a name and a value, delimited by an equals sign (=). The name appears to the left of the equals sign.
name=value
- Sections
Parameters may be grouped into arbitrarily-named sections. The section name appears on a line by itself, in square brackets ([ and ]). All parameters after the section declaration are associated with that section. There is no explicit "end of section" delimiter; sections end at the next section declaration, or the end of the file. Sections may not be nested.
[section]
- Comments
Semicolons (;) indicate the start of a comment. Comments continue to the end of the line. Everything between the semicolon and the End of Line is ignored.
; comment text