There might be a way to make it run via the command window but I’m not sure what you would type. Something similar to the command to force wc3 to run a map without opening the game.
Edit: will write it out when by my pc
"C:\Program Files\Warcraft III\x86_64\Warcraft III.exe" -launch -loadfile "C:\Users\[your name here]\Documents\Warcraft III\Campaigns\DotD300beta2.w3n"
^ above command should launch the file you wanna test, just switch out [your name here] for your PC Name and then change the filename to whatever your campaign’s map name is. Also might have to change the directory address depending on where WC3 is on your PC.
Edit 3: does not work… wow