How do I make Garry's Mod run .cfg files automatically?

I’m getting tired of having to constantly type in my cfg’s filename in console every time I start my game… Is there anyway I can make my .cfg’s run automatically when I start my game?


So I make a notepad file named autoexec.cfg and put my code in there?

Make sure to throw “host_writeconfig” at the bottom of autoexec.cfg.