How to change default path in cmder
As of cmder v1.3.6:
Go to 'settings'
In the settings group 'Startup', click on 'Tasks'
Click the console you want to modify (e.g. cmd::Cmder, cmd::Cmder as Admin, bash::bash etc.)
Click the button that says 'Startup dir...'
Select the directory you want the console to start up in by default
Enjoy
In the init.bat
file in ~/cmder/vendor
, before
:: Set home path
add
@cd /d "C:/YOUR_PREFERRED_FOLDER/"
- Create a shortcut to cmdr
- Edit the shortcut, change the "Start in" path to the desired path
- Profit