4 ms·
Windows will download the file to a temporary location (while blocking the UI thread for this!) and then pass the path of that temporary file to the application
by DaiPlusPlus 8y ago
Windows will download the file to a temporary location (while blocking the UI thread for this!) and then pass the path of that temporary file to the application. It works but is far from perfect - I won’t be surprised if it drops support for that little trick in a near release of Windows. I still want to know why Windows supports this yet still doesn’t ship with a native command-like equivalent to curl or wget (PowerShell doesn’t count)
- sarah180 8y agoWhy wouldn't PowerShell count? It's the standard scripting and command environment for modern versions of Windows. As of Windows 10, Microsoft has even phased out cmd.exe from the menus and for shortcuts like Win+X. It's still possible to get the legacy environment back, but it's exactly that: a legacy environment.
- WorldMaker 8y agoWindows ships with native curl(.exe) now [1]. (Though PowerShell is great, and I think it counts, personally.) [1] https://blogs.technet.microsoft.com/virtualization/2017/12/19/tar-and-curl-come-to-windows/ https://blogs.technet.microsoft.com/virtualization/2017/12/1...
- tootie 8y agoCurl has had a Windows version for a while but they used to alias curl to Invoke-WebRequest which was super irritating. I just use curl via WSL now.