I have a batch file that I run to install a bunch of programs onto computers, is there any way in the properties to either set it as needing to be run as admin (so that it gives you the prompt) or that it exits immediately if not run as an admin?
It is a pain to accidentally run it not as admin and then have to reinstall each missed program individually (some programs don't require admin).
I've had a look in the properties of the batch file but can't seem to find the right menu.