How do I run a command line program as Administrator under Windows 7? (Like sudo
on Linux.)
I'm particularly interested in doing this, for a VS2010 command line program.
How do I run a command line program as Administrator under Windows 7? (Like sudo
on Linux.)
I'm particularly interested in doing this, for a VS2010 command line program.
The easiest way to do so is to right click cmd.exe, and select the option "Run as Administrator".
It's possible you may get a dialog box asking if you're sure, and if you are, select Ok. You now have admin access to the command line.