热搜词
发表于 2008-3-23 18:22:15 | 显示全部楼层 |阅读模式
本帖最后由 灰儿 于 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就简略写法。
全部评论0
回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|管理员之家 ( 苏ICP备2023053177号-2 )

GMT+8, 2024-11-25 07:06 , Processed in 0.213306 second(s), 22 queries .

Powered by Discuz! X3.5

Cpoyright © 2001-2024 Discuz! Team