How do I know if I have Windows administrator rights from command line? Particularly on Windows7?
Is there any equivalent to linux
You can run the following script:
By the way, you can start command prompt with administrative privileges:
I think you didn't do your homework by searching on web, here's the question answered on stackoverflow: