Attempt to add developer command line for VS2015 in ConEmu

I am trying to add a developer command line for VS2015 to my ConEmu tasks so that I can run the shell from there. I know that I need to add a task at startup in the settings, but I do not know where to start and what to do.

I know the command line shortcut is here:

..\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2015\Visual Studio Tools

and shortcuts:

..\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat
+4
source share
1 answer

You will need to create a new predefined task in the Startup → Tasks menu in ConEmu settings.

Press the "+" button and name it whatever you want, in the screenshot below I named it VSCommandLine.

You will need to add the following commands in the command window:

* > cmd.exe /k ""%VS140COMNTOOLS%VsDevCmd.bat" & powershell" -new_console:d:C:\SourceCode\MyStartupDirectory

ConEmu screenshot at startup -> Tasks Settings menu

+3
source

All Articles