windows download file

  1. start powershell
  2.  $client = new-object system.Net.WebClient
  3. $client.DownloadFile('http://sami.haija.org/graph/datasets.tgz','E:\file.tgz')

Guess you like

Origin www.cnblogs.com/tryhardwy/p/11122684.html