Your Dawn of War product key is recorded in the Windows registry rather than sitting in a plain text file. Open the Start menu, search for regedit, and launch the Registry Editor.
From there, navigate to the game's entry under the software keys for the publisher and look for a value named something like CDKey or Serial. Type it exactly as shown, including any dashes.
Editing the registry carries risk, so change nothing except the value you are reading, and consider exporting a backup first. If the key is missing entirely, the game's publisher support channel is the correct route, as they can reissue it with proof of purchase.