CS2, which is currently under limited testing, is filled with bugs that affect gameplay. To counter this issue, the game's community has worked out numerous solutions to tackle latency bugs, ...
If you saved it as a .cfg file, make sure the full name is autoexec.cfg and not autoexec.cfg.txt or something sneaky like that.