title: Can I prevent a Windows batch file from execution through a double-click?
body: <p>Is it possible to setup a Windows <code>.BAT</code> file in such a way so that it's possible to execute when called from <code>CMD</code>, but does not run when someone double-clicks the file?</p>