标签: batch-file download
我有一个批处理文件。我想在其中下载一个文件并选择放置它的位置。我不希望它有任何依赖。
答案 0 :(得分:0)
想出来!使用此命令:
powershell -command "(new-object System.Net.WebClient).DownloadFile('http://example.org/path.ext', 'P:\ath\to\file')"