[pre]
vbs脚本[pre]
- rem 注册方正畅听
-
- set objshell=createobject("wscript.shell")
- dir=objshell.currentdirectory '获取当前目录
- '以下是注册方正畅听
- mv0="HKEY_LOCAL_MACHINE\SOFTWARE\iFly Info Tek\MagicVoice\3.0\ExeName"
- value0="bin\magicv.exe"
- objshell.REGwrite mv0,value0
-
- mv1="HKEY_LOCAL_MACHINE\SOFTWARE\iFly Info Tek\MagicVoice\3.0\LicenseKey"
- value1="TLAWXGXEPD6W3AHED" ‘这是软件的注册码
- objshell.REGwrite mv1,value1
-
- mv2="HKEY_LOCAL_MACHINE\SOFTWARE\iFly Info Tek\MagicVoice\3.0\Engine\vivivoice"
- value2="vivivoice"
- objshell.REGwrite mv2,value2
-
-
- '以下是注册右键菜单
- dll01="cmd /c regsvr32.exe ireadercom.dll"
- dll02="cmd /c regsvr32.exe ireadercomaddin.dll"
- objshell.run dll01
- objshell.run dll02 '注册dll文件
- menuext="HKEY_CURRENT_USER\software\microsoft\internet explorer\menuext\使用方正畅听朗读\"
- value=dir&"\ir_select.htm" '加入右键菜单
-
- objshell.REGwrite menuext,value ,"REG_SZ"
复制代码
[ 本帖最后由 myzam 于 2011-2-22 14:58 编辑 ] |