cmd windows download file
curl -o print.pdf https://html.spec.whatwg.org/print.pdf --ssl-no-revoke
cmd windows download file
curl -o print.pdf https://html.spec.whatwg.org/print.pdf --ssl-no-revoke
download file using cmd
@echo off
:: method one
rem powershell -Command "Invoke-Webrequest -URI https://files03.tchspt.com/temp/jdk-8u261-windows-x64.exe -Outfile jdk-8u261-windows-x64.exe"
if exist "%USERPROFILE%\desktop\jdk-8u261-windows-x64.exe" goto run
:run
call "%USERPROFILE%\desktop\jdk-8u261-windows-x64.exe"
pause
:: method two
powershell -Command "Start-BitsTransfer -Source https://files03.tchspt.com/temp/jdk-8u261-windows-x64.exe -Destination $env:USERPROFILE\Desktop\jdk-8u261-windows-x64.exe -TransferType Download -Priority High -DisplayName jdk-8u261-windows-x64.exe"
if exist "%USERPROFILE%\desktop\jdk-8u261-windows-x64.exe" goto run
:run
call "%USERPROFILE%\desktop\jdk-8u261-windows-x64.exe"
pause
how to download files using cmd
curl http://example.org/picture.jpg
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us