Ok, so I have two questions.
I am trying to create an autoexec. But the problem is, it isn't running the settings that change any commands.
I don't think the problem is the autoexec not executing, because it runs the echo commands that I have in it. The problem is that I have lines such as "voice_enable 0" (without the " "), but they don't run. If I enable voice and then restart the game, it's still enabled when the game loads up again.
I know the game is reading the line, because if I put " " either side of the command in the autoexec, it says it's an unknown command. I tried setting m_raw to 0 and restarting the game, to see if it was just that command, but that also stayed off despite m_raw 1 being in the autoexec.
My .cfg file is in steamapps\common\Counter-Strike Global Offensive\csgo\cfg, as I'm the only user and steam account on the PC. I saw some posts saying that it changed to userdata\userID\703 or something similar, but that doesn't work for me and I'm guessing that's for if you have multiple steam accounts in use.
Another point is that if I start the game and then force autoexec to run again by typing exec autoexec, the echo commands run as usual, but then so do the other commands like m_raw etc.
So my question is: Why are the commands not running, and how can I fix it?
If i understand correctly, "host_writeconfig FileName" should create a .cfg file with all my current settings in it. But when I run the command, it's not creating the file. I've looked in the same place as my autoexec, which I think is where it's supposed to be, but it's not there.
So where is it?