Quake will automatically create config.cfg in \quake\ID1. You should not manually edit that file because Quake will overwrite it to save the game settings.
You can create your own autoexec.cfg in \quake\id1 to run commands, set variables, bind keys, etc you want applied everytime you start Quake.
Dan East