execifexists Command

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.


Arguments are parameters that you add to a command. Find information about this command's arguments below.

File NameThe 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 Info

Sv_cheats Required? No
Client or Server Command? Both