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\


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM