找回密码
 加入
搜索
查看: 3396|回复: 5

[AU3基础] 注册表写入方法 不知道错在哪里·?

  [复制链接]
发表于 2010-2-26 16:34:17 | 显示全部楼层 |阅读模式
XP网速提升ADSL
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"SackOpts"=dword:00000001
"TcpWindowSize"=dword:0003e640
"Tcp1323Opts"=dword:00000001
"DefaultTTL"=dword:00000040
"EnablePMTUBHDetect"=dword:00000000
"EnablePMTUDiscovery"=dword:00000001
"GlobalMaxTcpWindowSize"=dword:0003e640

这些注册表键值 我想用AU3写入注册表   参照帮助文件 我写成下面那样了  但是会出错  请高手帮我写出正确的  谢了
RegWrite[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "SackOpts", "reg_dword", "00000001"]
RegWrite[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "TcpWindowSize", "reg_dword", "0003e640"]
RegWrite[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "Tcp1323Opts", "reg_dword", "00000001"]
RegWrite[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "DefaultTTL", "reg_dword", "00000040"]
RegWrite[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "EnablePMTUBHDetect", "reg_dword", "00000000"]
RegWrite[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "EnablePMTUDiscovery", "reg_dword", "00000001"]
RegWrite[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters", "GlobalMaxTcpWindowSize", "reg_dword", "0003e640"]
发表于 2010-2-26 16:37:58 | 显示全部楼层
RegWrite('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters', 'SackOpts', 'REG_DWORD', '0x00000001')
RegWrite('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters', 'TcpWindowSize', 'REG_DWORD', '0x0003e640')
RegWrite('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters', 'Tcp1323Opts', 'REG_DWORD', '0x00000001')
RegWrite('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters', 'DefaultTTL', 'REG_DWORD', '0x00000040')
RegWrite('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters', 'EnablePMTUBHDetect', 'REG_DWORD', '0x00000000')
RegWrite('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters', 'EnablePMTUDiscovery', 'REG_DWORD', '0x00000001')
RegWrite('HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters', 'GlobalMaxTcpWindowSize', 'REG_DWORD', '0x0003e640')
 楼主| 发表于 2010-2-26 16:48:54 | 显示全部楼层
谢楼上

原来是()  写成 []  郁闷     又粗心了
发表于 2010-2-26 17:02:28 | 显示全部楼层
有时候就是这样,简单问题复杂化
发表于 2010-2-26 17:40:06 | 显示全部楼层
帮助里有,多看看,还有例子
发表于 2010-3-2 22:49:04 | 显示全部楼层
有时跟LZ一样,多打了个)
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-20 13:47 , Processed in 0.074641 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表