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"
欢迎各位转载,但必须在文章页面中给出作者和原文链接!