Question: how to make cfg file csgo?
Answer: Find your config folder. There are two ways to do it: Open Steam and find there a CS:GO and right click on it. ... 
Choose a folder named csgo and after click on cfg. In this way you can find CS:GO config. cfg file.
Now you can create an autoexec. cfg. There are some different ways to do it: