回复 4楼 laibinhua
简单操作可用CMD的REG命令,如EXE文件名为abc.exe
keyName = ["HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION"]
sh = CREATEOBJECT("Shell.Application")
sh.ShellExecute([cmd], [/c REG ADD ]+keyName+[ /v "abc.exe" /t "REG_DWORD" /d 11111 /f], [], [runas], 1)