download file using cmd
curl http://example.org/picture.jpg@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
Also in C++:
- install wmctrl in mac
- pyinstaller
- Invalid command 'RewriteEngine'
- how to pass linux command in in docker-compose yaml file
- Package 'fslint' has no installation candidate
- create pdf from images linux
- git only add modified files
- how to run .sh file in background linux
- github add multiple credentials windows
- ngular JIT compilation failed: '@angular/compiler' not loaded!
- install gnome on ubuntu wsl2
- ispconfig auto installer
- Adding "0" if clock have one digit
- change branch git
- com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException
- apache benchmark test example
- how to join any cluster redis
- find next greater number with same digits
- login git in terminal
- source tree not installed
- npm install strapi
- how to remove git repository from a project
- how to convert ui to py pyside2
- ubuntu 20.10 how to open zip file