powershell7.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\PowerShell7x64]
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\PowerShell7x64"
"MUIVerb"="&PowerShell 7"
"Icon"="C:\\Program Files\\PowerShell\\7\\pwsh.exe"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\PowerShell7x64]
[HKEY_CLASSES_ROOT\Directory\ContextMenus\PowerShell7x64\shell]
[HKEY_CLASSES_ROOT\Directory\ContextMenus\PowerShell7x64\shell\openpwsh]
"MUIVerb"="Open &here"
"Icon"="C:\\Program Files\\PowerShell\\7\\pwsh.exe"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\PowerShell7x64\shell\openpwsh\command]
@="C:\\Program Files\\PowerShell\\7\\pwsh.exe -NoExit -RemoveWorkingDirectoryTrailingCharacter -WorkingDirectory \"%V!\" -Command \"$host.UI.RawUI.WindowTitle = 'PowerShell 7 (x64)'\""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\PowerShell7x64\shell\runas]
"MUIVerb"="Open here as &Administrator"
"Icon"="C:\\Program Files\\PowerShell\\7\\pwsh.exe"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\PowerShell7x64\shell\runas\command]
@="C:\\Program Files\\PowerShell\\7\\pwsh.exe -NoExit -RemoveWorkingDirectoryTrailingCharacter -WorkingDirectory \"%V!\" -Command \"$host.UI.RawUI.WindowTitle = 'PowerShell 7 (x64)'\""
cmd.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\CMDx64]
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\CMDx64"
"MUIVerb"="&CMD"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\CMDx64]
[HKEY_CLASSES_ROOT\Directory\ContextMenus\CMDx64\shell]
[HKEY_CLASSES_ROOT\Directory\ContextMenus\CMDx64\shell\opencmd]
"MUIVerb"="Open &here"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\ContextMenus\CMDx64\shell\opencmd\command]
@="\"C:\\WINDOWS\\system32\\cmd.exe\" \"%V\""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\CMDx64\shell\runas]
"MUIVerb"="Open here as &Administrator"
"Icon"="cmd.exe"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\ContextMenus\CMDx64\shell\runas\command]
@="\"C:\\WINDOWS\\system32\\cmd.exe\" \"%V\""
保存文件到本地执行即可
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。