cmder設置打開時的默認目錄

cmder設置打開時的默認目錄

打開cmder自動進入工做目錄,怎麼配置?
http://superuser.com/questions/1005285/run-a-bat-file-with-cmderssh

cmder的config目錄下有個user-startup.cmd文件,這裏就是啓動cmder時會自動執行的腳本,每次打開都會執行this

簡單的加入切換到指定目錄:

:: 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腳本?

哪位知道求告知啊3d

修改默認打開方式的註冊表位置:
HEKY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.bat code

相關文章
相關標籤/搜索