cmder设置打开时的默认目录

cmder设置打开时的默认目录

打开cmder自动进入工作目录,怎么配置?
http://superuser.com/questions/1005285/run-a-bat-file-with-cmder

cmder的config目录下有个user-startup.cmd文件,这里就是启动cmder时会自动执行的脚本,每次打开都会执行

简单的加入切换到指定目录:

:: use this file to run your own startup commands 
:: use @ in front of the command to prevent printing the command
 
:: @call "C:Program FilesGit/cmd/start-ssh-agent.cmd
:: @set PATH=%CMDER_ROOT%vendorwhatever;%PATH%
 
::cd to GitHub when startup
@D:
@cd D:GitHub

如何设定使用cmder执行bat脚本?

哪位知道求告知啊

修改默认打开方式的注册表位置:
HEKY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.bat

原文地址:https://www.cnblogs.com/wancy86/p/5701059.html