What is a CSGO Autoexec file?
A CSGO Autoexec file is a settings file that you put commands into. When you run the game, these commands will run instantly when you launch Counter Strike.
There are a lot of different commands that you may want to include in an autoexec file such as cross hair settings and view model information.
How to create a CSGO Autoexec
To begin creating your own Autoexec, start by finding your Steam folder, specifically the location of CSGO. When your in the csgo folder, open the folder labelled ‘cfg’. The specific location for my Config location for Counter Strike is
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg
However you directory may be different. Leave this folder open, and open a text editting program such as Notepad or Wordpad. I personally use Notepad++ but standard Notepad works great.
In your text editor, start placing commands that you wish to run on CSGO Startup. Below are some setups you can use. You can also start a line with // in order to input text that wont be run. For example, you can type //Crosshair settings before placing commands below it to keep the file organised.

When you’ve finished creating your CSGO Autoexec file. Choose File > Save as > autoexec.cfg However you’ll need to set ‘Save as type’ to All Files.Â
Example of commands for Autoexec
//Deathcam
cl_disablefreezecam “1”
//Help Messages – you dont need these
gameinstructor_enable “0”
cl_autohelp “0”
cl_showhelp “0”
//Max Ping – Don’t join any servers where ping is higher than setting below
mm_dedicated_search_maxping “100”
//MOTD – Disable message of the day
cl_disablehtmlmotd “1”
cl_downloadfilter “nosounds”
//HUD Scaling
hud_scaling “.95”
hud_showtargetid “1”
bind “TAB” “+ng”; //
alias “+ng” “+showscores; net_graph 1” // Only show netgraph when tab is held
alias “-ng” “-showscores; net_graph 0” //
//Bypass OS Interface & Acceleration
m_rawinput “1”
m_mouseaccel1 “0”
m_mouseaccel2 “0”
//Bobbing and Movement Shifting
cl_viewmodel_shift_left_amt “0”
cl_viewmodel_shift_right_amt “0”
cl_bob_lower_amt “0”
cl_bobamt_lat “0”
cl_bobamt_vert “0”
cl_showloadout “1”
cl_bobcycle “1”