Ho do you change default terminal location when opening.

  • | 175 points

    I have my sites hosted outside the base www folder. How can I tell the cmder terminal to open in that directory by default?

  • administrators
    | 131219 points

    @edster : cmder remembers last dir for next time you open Terminal.

  • | 17 points

    There should be this option available. Is it available now??


  • | 1825 points


    • open cmder settings (Win+Alt+P)
    • go to Startup > Tasks and inside Predefined tasks (command groups) click on 2 {cmd::Cmder}
    • inside one of the box on bottom right you will see below code
    cmd /k ""%ConEmuDir%\..\init.bat" " 

    put your cursor at the beginning before cmd

    • click on Startup dir button and choose your preferred directory.
      For your reference, my code when I want open root drive D by default:
    -new_console:d:D:\ cmd /k ""%ConEmuDir%\..\init.bat" "

    If you want to open new tab with different directory by default, you can insert new line and follow steps that I have mention above. Please refer to below code for reference

    cmd /k ""%ConEmuDir%\..\init.bat" "
    -new_console:d:D:\ cmd /k ""%ConEmuDir%\..\init.bat" "
    • click on Save settings and restart cmder

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.