console2

How to make console2 open in a specific folder?


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?


Solution

  • 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)