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 Files\Git/cmd/start-ssh-agent.cmd
:: @set PATH=%CMDER_ROOT%\vendor\whatever;%PATH%
 
::cd to GitHub when startup
@D:
@cd D:\GitHub

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

哪位知道求告知啊

修改默认打开方式的注册表位置:
HEKY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.bat\

posted @ 2016-07-24 16:36  CooMark  阅读(5368)  评论(0编辑  收藏  举报