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

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

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脚本?

哪位知道求告知啊cmder设置打开时的默认目录

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

相关文章:

  • 2021-05-05
  • 2021-05-30
  • 2021-12-07
  • 2021-08-03
  • 2022-12-23
  • 2021-05-13
  • 2021-04-08
  • 2021-06-29
猜你喜欢
  • 2021-07-31
  • 2021-08-17
  • 2022-12-23
  • 2021-05-03
  • 2021-10-26
相关资源
相似解决方案