| 
 
| 本帖最后由 灰儿 于 2010-9-16 20:18 编辑 
 '**********************************************
 '*by huier
 '*关闭 DirectDraw
 '**********************************************
 Set WshShell=CreateObject("WScript.Shell")
 WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\DirectDraw\EmulationOnly","1","REG_DWORD"
 wscript.echo "关闭 DirectDraw 成功"
 set WshShell=nothing
 
 ----------------------------------------------------------------------------------------------------------------------------------
 
 '**********************************************
 '*by huier
 '*启用 DirectDraw
 '**********************************************
 Set WshShell=CreateObject("WScript.Shell")
 WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\DirectDraw\EmulationOnly","0","REG_DWORD"
 wscript.echo "启用 DirectDraw 成功"
 set WshShell=nothing
 
 ----------------------------------------------------------------------------------------------------------------------------------
 注:HKLM是HKEY-LOCAL-MACHINE就简略写法。
 | 
 |