I'm trying to perform a one-liner file download in Windows command line, without depending on external tools like WGET, or even writing PowerShell or VBScripts scripts.
I tried to run
c:\> RunDLL32.exe URLMon.dll,URLDownloadToFIle 0,"http://www.example.com/file.pdf" "c:\\MyName\\Downloads\\",0
It didn't work.
What did I do wrong?
Or would that even work?