You need to create
AUTOEXEC.CFG
in your game folder, when game starts it reads this file and executes everything inside it as in-game Console commands. Here's the example of how I use it:
name LeoTM
color "Crimson"
file addons/colors.wad
alias CLEAR CLS
fov 100