First, go to
"https://www.mroldgames.com/e107_plugins/old+games/gamelisterpc.php?idg=77&ind=PC"
and click the blue downward arrow to download the game.
Next, if you don't already have it, you'll need to download the DOSBox emulator. Head to
"https://www.dosbox.com", click the Downloads tab, and select the Windows version (under the DOSBox category).
Run the downloaded installer and install DOSBox to your hard drive in the directory C:\Games\Warcraft2 — the game won't work unless it's in this exact folder.
Open the Games folder, then the Warcraft2 folder inside it. Locate DOSBox and launch it by double-clicking its program icon.
The screen will go black. Type "config -writeconf dosbox.conf" and press Enter.
Then type "exit" and press Enter.
Find the config file (it should be in your games folder). Right-click it, choose "open with," then Notepad.
Scroll to the very bottom (the autoexec section) and add this text below:
Save and close the config file when you're done.
Right-click the Warcraft 2 game file you saved to your hard drive and click "Extract All."
Click "Next" when the extractor launches. When asked where to extract the files, choose "C:\Games\Warcraft2." Then click "Extract" and the files will begin unpacking.
Finally, launch the game — for the Alliance!