windows下几个方便的右键菜单

一直在用,拷来拷去麻烦,贴这里方便自己方便大家

PSHere.reg 右键菜单打开powershell

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\PSHere]
@="PS Here"
"Icon"="powershell.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\PSHere\command]
@="powershell.exe -NoLogo -NoExit"

PyenvHere.reg 右键打开当前目录venv (按自己命名习惯修改路径)

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\PyenvHere]
@="Pyenv Here"
"Icon"="powershell.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\PyenvHere\command]
@="powershell.exe -NoLogo -NoExit -File .pyenv\\Scripts\\Activate.ps1"

OpenWithNotepad.reg 右键用记事本打开

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\notepad]
@="Open with Notepad"
"Icon"="notepad.exe" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\notepad\command]
@="notepad %1"
上一篇:(二十八)jsp之EL表达式


下一篇:Unity3d外包(北京)公司(长年承接U3D外包)