Turns out Windows already gives you all the tools you need to block distracting apps and websites—you just have to put them ...
Four scripts to fix them all ...
And, assuming "Program2 -t" outputs "chicken" your script would be the equivalent of "Program1 -q chicken" How can I duplicate this in DOS scripting or other windows scripting? (Windows 7, FWIW) ...