Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make console2 open in a specific folder?

Tags:

console2

With cmd, I can do

cmd /K cd /D "c:\repo"

to open cmd in c:\repo

How to do the same with console2 when using cmd as a shell?

like image 987
Oleg D. Avatar asked Jun 08 '11 20:06

Oleg D.


2 Answers

From the command line options help:

 -d <directory> 

 Specifies a startup directory. If you want to parametrize
 startup dirs, you need to specify startup directory parameter as "%1"\
 (backslash is outside of the double quotes)
like image 157
Jacob Mattison Avatar answered Oct 03 '22 09:10

Jacob Mattison


In 2.00b147, navigate to Edit -> Settings -> Console and enter your desired directory in the Startup dir field.

like image 44
Kenny Gao Avatar answered Oct 03 '22 10:10

Kenny Gao