CS2 & CS:GO execifexists Command

CS:GO & CS2 Compatible
execifexists <File Name>

This command will execute the specified script file, if it exists. This prevents errors that occur with the exec command when the specified exec file does not exist.

Argument Information

The syntax for this command is as follows:
Name Description
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).

Extra Information

Find additional information relating to this command below.
sv_cheats Required
No
Client or Server Command
Both
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
Ad

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

execifexists <File Name>
0/1 arguments filled
File Name