This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo Set args = WScript.Arguments > wget-bin.vbs | |
echo Url = args.Item(0) >> wget-bin.vbs | |
echo Path = args.Item(1) >> wget-bin.vbs | |
echo dim xHttp: Set xHttp = createobject("Microsoft.XMLHTTP") >> wget-bin.vbs | |
echo dim bStrm: Set bStrm = createobject("Adodb.Stream") >> wget-bin.vbs | |
echo xHttp.Open "GET", Url, False >> wget-bin.vbs | |
echo xHttp.Send >> wget-bin.vbs | |
echo with bStrm >> wget-bin.vbs | |
echo .type = 1 >> wget-bin.vbs | |
echo .open >> wget-bin.vbs |