windows shell download file code example
Example 1: cmd download file
bitsadmin.exe /transfer "JobName" http://download.url/here.exe C:\destination\here.exe
Example 2: how to download files using cmd
curl http://example.org/picture.jpg
bitsadmin.exe /transfer "JobName" http://download.url/here.exe C:\destination\here.exe
curl http://example.org/picture.jpg