Type:Settings Files

Acronym:Configuration File

Opens With: Any text editor

Generic preference file that stores settings and configuration information; used by various programs, which means different CFG files may store data in different formats; typically should not be opened manually, but may be saved in a text format that can be viewed in a text editor; can sometimes be moved or deleted to revert to a program's default settings.

Generic configuration files are often named "config.cfg". Text-based CFG files often contain one variable and value per line in the following format:




To test if a program automatically generates a default CFG file, move the configuration file out of the default directory when the program is not running. Then open the program and check the directory to see if a new CFG file has been created.

Linux configuration files typically use the .CONF extension rather than CFG.