Start the game with the "aow.exe beatrix" command line. And then you can press Ctrl + Shift + C during the game and enter one of the following codes:
1000 gold: gold
1000 mana: mana
All independent towns: towns
All spells: spells
Research all spells: research
Win level: win
Lose level: lose
Toggle fog: fog
Toggle exploration: explore
Free movement mode: freemove