Created
November 11, 2013 16:35
-
-
Save glombard/7416112 to your computer and use it in GitHub Desktop.
PowerShell to download 7za and cURL into the Windows directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$c=New-Object Net.WebClient | |
$c.DownloadFile('http://heanet.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip',"$env:TEMP\7za920.zip") | |
$c.DownloadFile('http://www.paehl.com/open_source/?download=curl_733_0_ssl.zip',"$env:TEMP\curl.zip") | |
$shell=New-Object -Com Shell.Application | |
$win=$shell.NameSpace($env:windir) | |
$win.CopyHere($shell.NameSpace("$env:TEMP\7za920.zip").Items(), 16) | |
$win.CopyHere($shell.NameSpace("$env:TEMP\curl.zip").Items(), 16) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From the command-prompt: