31

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?

jftuga
  • 3,177
  • 1
  • 19
  • 23
bentayloruk
  • 463
  • 1
  • 5
  • 8

1 Answers1

47

Add the following switch at the end of your command

-new_console:a
Gili
  • 1,841
  • 4
  • 26
  • 37
Maximus
  • 20,637
  • 16
  • 91
  • 116