我有批处理文件。我想下载一个文件,并选择放在哪里。我不希望它有任何依赖项。
发布于 2014-06-29 20:43:16
弄明白了!使用以下命令:
powershell -command "(new-object System.Net.WebClient).DownloadFile('http://example.org/path.ext', 'P:\ath\to\file')"
https://stackoverflow.com/questions/23769158
相似问题