exec [File Name]
This command will execute the specified script file (e.g. exec autoexec.cfg). You do not need to specify the .cfg file extention (i.e. you'd write just exec example for example.cfg). Place script files in the \Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\ folder.
Arguments are parameters that you add to a command. Find information about this command's arguments below.
|File Name||The name of the file, which is located in \Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\ that you want to execute. If the file exention is .cfg, you only need to specify the file name (not the .cfg part).|
|Client or Server Command?||Both|
Find below working examples of this command (copy and paste into console).
This command would execute the list of commands in the file "autoexec.cfg" (you don't need to specify the .cfg). The autoexec.cfg file would be located at \Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\autoexec.cfg.