你好Set oshell = CreateObject("WScript.Shell") oshell.RegWrite "HKEY_CLASSES_ROOT\VBSFile\Shell\Open\Command\", "%SystemRoot%\System64\WScript.exe ""%1"" %*", "REG_EXPAND_SZ"