2.13 Windows自带命令下载文件
A:
参看
How to download files from command line in Windows like wget or curl - [2009-08-19] https://superuser.com/questions/25538/how-to-download-files-from-command-line-in-windows-like-wget-or-curl
有很多Windows自带命令可以下载文件
a) bitsadmin
bitsadmin /transfer jobname_any /download /priority normal https://scz.617.cn/windows/202010131637.txt x:\202010131637.txt
b) certutil
certutil.exe -urlcache -split -f "https://scz.617.cn/windows/202010131637.txt" x:\202010131637.txt
c) powershell
如下几种都可以
powershell (new-object System.Net.WebClient).DownloadFile('https://scz.617.cn/windows/202010131637.txt','x:\202010131637.txt') powershell -Command "Invoke-WebRequest -OutFile x:\202010131637.txt https://scz.617.cn/windows/202010131637.txt" powershell.exe -noprofile -command "Import-Module bitstransfer;start-bitstransfer -source https://scz.617.cn/windows/202010131637.txt -destination x:\202010131637.txt"