A file with the .ini, .cfg or .config extension is a configuration file used by various programs.
These files are also supported by most operating systems such as Unix and Unix-like operating systems, MS-DOS, macOS, Microsoft Windows, and IBM OS/2.
Like most other file types cfg/ini files follow a specific syntax.
This syntax is documented bellow:
A key-value pair is an item that contains a key name and a value. Every config file contains a group of these items.
key=value
A section is a named group of items. There can be multiple sections in one file.
[section_name]
key1=value
key2=value
A comment is a piece of text that is ignored by the compiler. A comment is defined by the ; or # symbol at beginning of a line.
; Comments here
# Comments