Window系统右键菜单增加项

Win+R输入regedit,打开注册表

1.文件夹中右键增加打开cmd命令窗口

在HKEY_CLASSES_ROOT\Directory\Background\shell下依次新建项“在此打开CMD”和子项“command”,

Window系统右键菜单增加项

子项command的值为"C:\Windows\System32\cmd.exe" "–cd=%v."注意有引号。

  1. .py文件右键菜单无“Edit with IDLE”项

编辑HKEY_CLASSES_ROOT\SystemFileAssociations\.py\shell\Edit with IDLE\command项的值为

“C:\mysoft\Python36\pythonw.exe” “C:\mysoft\Python36\Lib\idlelib\idle.pyw” -e “%1”

Window系统右键菜单增加项

两个路径注意替换为自己本地python安装的路径。

相关文章:

  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-06
  • 2021-11-22
  • 2021-07-23
  • 2021-04-14
猜你喜欢
  • 2021-06-04
  • 2021-11-15
  • 2022-12-23
  • 2021-09-07
  • 2022-12-23
  • 2021-03-31
相关资源
相似解决方案