CFG

From Valve Developer Community
Revision as of 20:23, 15 May 2006 by Ts2do (talk | contribs)
Jump to navigation Jump to search

Template:Wrongtitle

.cfg files can be found everywhere and are not specific to Source. It is an abbreviation of configuration.

In Source games, a config file can be executed to perform a list of console commands. CFG files can be written in Notepad or any other plain text editor.

They must be placed in the game root's cfg folder, for example cstrike\cfg.

They can be run from the console using exec <cfgname> where filename is the name of the config file, excluding its .cfg extention. Config files can be placed in subdirectories of the cfg folder. The exec command would require you to include the subdirectories in the command.

See also