How do I know if I have Windows administrator rights from command line? Particularly on Windows7?
Is there any equivalent to linux id
?
command linewindows 7
How do I know if I have Windows administrator rights from command line? Particularly on Windows7?
Is there any equivalent to linux id
?
Best Answer
You can run the following script:
By the way, you can start command prompt with administrative privileges:
cmd
in the search barRelated question answered on stackoverflow:
https://stackoverflow.com/questions/4051883/batch-script-how-to-check-for-admin-rights