Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Python.File\shell\runas]
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Python.File\shell\runas\command]
@="path \"%1\" %*"
path变更为Python解释器的路径,\和"需要转义
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Python.File\shell\runas]
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Python.File\shell\runas\command]
@="path \"%1\" %*"