开机小脚本自动打开sublime text 和git-bash总结

虾米哥 阅读:225 2021-05-26 14:26:19 评论:0
set subl="C:\Program Files (x86)\Sublime Text 3\subl.exe" 
set git-bash="C:\Program Files\Git\git-bash.exe" 
for %%x in ("C:\projects\jarsj","C:\projects\jasygl","C:\projects\wdksw","c:\cloud") do ( 
   cd %%x 
   start "" . 
   %subl% . 
) 
start /b cmd /c %git-bash% --cd=C:\projects\jarsj 
start /b cmd /c %git-bash% --cd=C:\projects\jasygl 
start /b cmd /c %git-bash% --cd=C:\projects\wdksw 
start /b cmd /c %git-bash% --cd=C:\cloud 
for %%x in ("C:\projects\jarsj","C:\projects\jasygl","C:\projects\wdksw","c:\cloud") do ( 
   cd %%x 
   git pull 
) 
pause 

声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

发表评论
搜索
排行榜
KIKK导航

KIKK导航

关注我们