batch file - Windows Bitsadmin Alternative -


because bitsadmin getting deprecated hear if know alternative download files within batch script. best alternative comes windows don't need download stuff.

bacon bits , had same idea @ same time. here's example using powershell's bitstransfer module. save .bat file , run it.

@echo off setlocal  set "url=http://cdn.sstatic.net/stackoverflow/img/sprites.svg" set "saveas=sprites.svg" powershell "import-module bitstransfer; start-bitstransfer '%url%' '%saveas%'" 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -