While playing, press the key to bring up the console. NOTE: If you're still having trouble activating the console, you may need to add the following line to your input_a1.cfg file (located in My Documents/My Games/Heroes of Might and Magic V/Profiles/YOUR_PROFILE):
Open this file with Notepad and add the following line as the last line in the file: To enable the cheat console for all game profiles, locate the autoexec_a1.cfg file in your \profiles directory. In order to use cheat codes, you must first enable the console.