Board logo

标题: 如何通过批处理设定屏幕后保护的启动时间? [打印本页]

作者: emote     时间: 2008-2-1 12:25    标题: 如何通过批处理设定屏幕后保护的启动时间?

如何通过批处理设定屏幕后保护的启动时间?
作者: slore     时间: 2008-2-1 12:44
HKCU\Control Panel\Desktop ScreenSaveTimeOut

上面是注册表路径……至于如何立即生效就不知道了。。
作者: dato     时间: 2008-2-1 13:54
:: Set the time out to 900 seconds (15 minutes).
%SystemRoot%\System32\REG ADD "HKCU\Control Panel\Desktop" /V ScreenSaveTimeOut /T REG_SZ /F /D 900
:: Make the changes effective immediately
%SystemRoot%\System32\RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters
作者: slore     时间: 2008-2-1 14:02
这个我刚才写了……但是XP下那个rundll32的刷新无效。。。
作者: HAT     时间: 2008-2-1 14:42
需要注销才能生效吧
作者: everest79     时间: 2008-2-1 18:11
assoc .txt=txtfile
这个有效
作者: emote     时间: 2008-2-1 20:12
楼上那句是什么做用?
作者: slore     时间: 2008-2-1 22:31
刷新……