Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Start up cmder ConEmu console in a specific folder

I want start my Cmder console in this route C:\xampp\htdocs, but I don't understand the syntax of 'Task parameters'. For example:

 `/icon "%CMDER_ROOT%\cmder.exe`"

Can anyone translate for this? C:\xampp\htdocs to -> /icon "%CMDER_ROOT%\cmder.exe"

So I could edit the config and place my custom folder: enter image description here

Thank you very much.

like image 942
Funny Frontend Avatar asked Aug 11 '15 05:08

Funny Frontend


3 Answers

Go to Setup and Click on 'Startup dir...' button and specify startup directory. As you can see in example bellow startup directory is C:\DEV enter image description here

like image 154
Vlad Bezden Avatar answered Oct 20 '22 09:10

Vlad Bezden


Change %USERPROFILE% to desired folder instead.

like image 19
Maximus Avatar answered Oct 20 '22 10:10

Maximus


Two ways:

  1. If you want to change the location PER task: do what "Maximus" said, change %USERPROFILE% to the specific location. The downside is that when creating a new console window, the "startup directory for new process" (see image below) will still be the default ConEmu installation directory.
  2. If you want to change the "Startup directory for new process:" location (from the default ConEmu installation directory to custom) when creating a new console:

enter image description here

Then create a shortcut for ConEmu / Cmder and change the "Start in:" attribute in the shortcut properties; like so:

enter image description here

Now simply use the shortcut instead of the exe. This has the benefit of changing the start location for ALL the tasks (all terminals you have setup).

like image 6
Artash Avatar answered Oct 20 '22 09:10

Artash