

With macro: set "dnld=bitsadmin /transfer myDownloadJob /download /priority normal"

Simplest possible way to use it bitsadmin /transfer myDownloadJob /download /priority normal c:\10mb.zip cmd extensions and can be used directly as batch scripts.Ĭertutuil (for some reasons in the newest win10 builds this is recognized as trojan thread ):Ĭertutil.exe -urlcache -split -f "" pstools.zipįor easiness a macro can be used: set "download=certutil.exe -urlcache -split -f"ĬertUtil command can be abused to download a file from internet.Available by default in windows since Vista.For WinXP Server 2003 Administration Tools are needed. The answers.All scripts should be saved with. NET but with lessĬhances to be installed on all machines you can meet.So I'll skip Using powershell - has same possibilities as.

My answer.Anyway only the Webclient is especially designed for download. solution.And even more same ActiveX objectsĪccessible with WSH are available here too.So there are really many

Is in one file ,so according to me this fits in the requirements :-) It.If we ignore the fact that there's a compiled. there is no redundant error messages so I'll prefer NET - It's possible to create a hybrid batch file with all Some UI elements are unavoidable (are they?) so I'll skip this one. Just the Internet explorer accessible through ActiveX object and Objects in order of how I prefer them.WinHTTP and MSXML2.XMLHTTPĪre pretty similar in their capabilities but WinHTTP has a , InternetExlorer.Application - all of them are accessible ActiveX Using WSH - Three approaches are possible - WinHTTP, MSXML2.XMLHTTP.No other scripting language should be used. It's not pretty convenient but is an/the only option where "Pure" batch solution with BITSADMIN - a command line utilityĪvailable on every windows machine.bat file (which is possible with both jscript and vbscript). īesides excluding external tools I want the solution(s) to be applicable for the widest possible types of windows machines (including XP,Win2003,Vista which still have big enough share).Īlso as WSH is one of the possible options I prefer no using of temp files and everything to be packed in a single. Here are some similar questions - but I want to be more precise. For FTP may be I'll ask (and answer) another question. First to clarify this question is aimed to HTTP(s) download.
