Instructions
Click on "Start." Then type "Notepad" in the search field and press the "ENTER" key on your keyboard to open the text editor.
Type the script you want to use in the window. To create scripts for "Counter-Strike: Source," you need to use specific commands, such as "alias" to group actions together or "bind" to bind an alias to a specific key.
Click on "File" and select "Save." In the file name field, type "autoexec.CFG." It is important to type "CFG" in capital letters to allow the game to recognize the file. Then, navigate to the following folder:
C:\Program Files\Steam\SteamApps\<YourSteamUsername>\counter-strike source\cstrike\cfg
"YourSteamUsername" is the username you use to log in to Steam, the application which lets you launch "Counter-Strike: Source." Click on the "Save" button to save the file in that directory.
Click on "File" and select "Open." Select "config.cfg," which is in the same directory than the one in which you saved the previous file. Add the following line to the file:
exec autoexec.cfg
Save the file by clicking on "File" and selecting "Save."