Skip to content

Instantly share code, notes, and snippets.

@GrassBlock1
Last active December 28, 2022 09:57
Show Gist options
  • Save GrassBlock1/19b7a982f75223785cd6037dfb306628 to your computer and use it in GitHub Desktop.
Save GrassBlock1/19b7a982f75223785cd6037dfb306628 to your computer and use it in GitHub Desktop.
为没有右键“在终端中打开”的win10用户准备的在“终端”中打开(增强版)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHere]
"MUIVerb"="在“终端”中打开"
"SubCommands"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHere\shell]
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHere\shell\001flyout]
"MUIVerb"="默认配置"
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHere\shell\001flyout\command]
@="cmd.exe /c start wt.exe -d \"%V\\.\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHere\shell\002flyout]
"MUIVerb"="命令提示符"
"Icon"="imageres.dll,-5323"
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHere\shell\002flyout\command]
@="cmd.exe /c start wt.exe -p \"命令提示符\" -d \"%V\\.\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHere\shell\003flyout]
"MUIVerb"="PowerShell"
"Icon"="powershell.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHere\shell\003flyout\command]
@="cmd.exe /c start wt.exe -p \"Windows PowerShell\" -d \"%V\\.\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment