win10自定义右键新建文件

新建.reg文件,如添加py文件

Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT.pyShellNew]
"NullFile"=""
"FileName"="template.py"

效果:

原文地址:https://www.cnblogs.com/mrwuzs/p/11795450.html