Many Counter-Strike 2 players like to set up what's called an autoexec file, which is a text document in the game files which automatically runs a bunch of console commands every time you start CS2 - so you don't have to type the commands in every time. Many commands only work (or are only practical) if used in an autoexec file.
Here's how to set up an autoexec file for CS2:
Right-click Counter-Strike 2 in your Steam Library.
Click "Manage" > "Browse Local Files".
Navigate to the "Game" > "CSGO" > "CFG" folder.
Right-click an empty space and select "New" > "Text Document"
Rename the file to "autoexec.cfg", removing the ".txt" at the end.
Click "Yes" when asked for confirmation about changing the file extension.
Open the "autoexec.cfg" file in Notepad.
Add any console commands you want to execute every time you launch CS2.
Save and close the file.
Right-click Counter-Strike 2 in your Steam Library.
Click "Properties".
In the "General" tab, scroll down to "Launch Options".
In the text box, type "+exec autoexec.cfg".
Close the Properties window and launch Counter-Strike 2.
If you follow all of these steps, you'll find that any console commands you input into that autoexec.cfg file will automatically be activated whenever you launch CS2, so you never have to manually enter those commands again.
Added: Oct 17 2023, 02:38 AM
Modified: Never edited!
Thanks List: [+]
Add Feedback
You cannot post yet! Get involved on GVME by posting your thoughts. Give authors your feedback to help them develop.