win10 mingw64 注册表

注册表

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\mingw64]
@="open with mingw64"
"Icon"="C:\\msys64\\mingw64.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\mingw64\command]
@="\"C:\\msys64\\mingw64.exe\" \"C:\\msys64\\dir.sh\" \"%V\""

 

 

dir.sh 脚本

# echo $1 
# dir=$1
# dir=${dir/:/}
# dir=${dir//\\//}
# cd /$dir
# echo $1
/bin/bash

 

posted on 2020-11-22 22:03  正义的伙伴!  阅读(207)  评论(0编辑  收藏  举报

导航

//增加一段JS脚本,为目录生成使用