Possible Duplicate:
Is there any 'sudo' command for Windows?
Commands su & sudo could be used to turn whole current terminal session as super user with administration privileges.
What's the corresponding command of Windows CMD ?
I know that I can start CMD as administrator by
- Right click & Start as Administrator
- Typing CMD in start search bar the
CTRL + SHIFT + ENTER
But I want to evaluate this permission from inside CMD.
switch user. With runas you can execute commands as a lower privilege user if desired. – Some Random Kid Jun 09 '12 at 02:48