How do you configure ConEmu to run cmd.exe as an Administrator from an Explorer integration?

Posted by bentayloruk on Super User See other posts from Super User or by bentayloruk
Published on 2012-09-05T15:49:32Z Indexed on 2012/09/05 21:41 UTC
Read the original article Hit count: 350

Filed under:
|

I am trying to add a ConEmu Here - Explorer context menu integration entry for the Visual Studio 2012 command prompt. I want the shortcut to Run as Administrator. I am not sure of the right way to do this in ConEmu.

I am using the following Command (which works but obviously not as Admin):

cmd.exe /k ""C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat"" x86

What is the correct way to configure ConEmu to run this as Administrator? If there is not a correct way, how should I adjust the command to make this work?

© Super User or respective owner

Related posts about command-line

Related posts about conemu