@echo off curl -sS %1 > temporary.zip && unzip temporary.zip && rm temporary.zip
I saved it as fetchzip.bat
So whenever i wanna download zip file i called this in command prompt
fetchzip http://the/url/of/the/file.zip
It'll fetch the zip file to the current directory, rename it to "temporary.zip", extract the content using unzip, and delete the zip file.
To make the batch script can be called anywhere. Don't forget to add the batch script to environment variable like explained in this article.