批量下载文件

时间:2014-05-20 20:19:51

标签: batch-file download

我有一个批处理文件。我想在其中下载一个文件并选择放置它的位置。我不希望它有任何依赖。

1 个答案:

答案 0 :(得分:0)

想出来!使用此命令:

powershell -command "(new-object System.Net.WebClient).DownloadFile('http://example.org/path.ext', 'P:\ath\to\file')"