Is their a Global Variable for batch files witch shows if i have admin permissions or not ie %ADMIM% if not is their a command line exe that will tell me?
I am writing a batch file and i want it to do one thing if i have admin and another if its a regular user.
Thanks in Advance
You can use this trick: