Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 19 down vote accepted

Add the following switch at the end of your command

-new_console:a
share|improve this answer
    
This should be on the tooltip or should be a predefined item. – gyozo kudor Feb 22 at 15:05
1  
It's impossible to integrate full documentation in the tooltip. conemu.github.io/en/NewConsole.html#syntax – Maximus Feb 22 at 16:47
    
-new_console:a would be enough :) – gyozo kudor Feb 23 at 21:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .