LoginSignup
3
4

More than 5 years have passed since last update.

VBScriptでファイルのダウンロード

Last updated at Posted at 2016-07-11

busybox.exe のダウンロード例

get_busybox.vbs
dim xHttp: Set xHttp = createobject("Microsoft.XMLHTTP")
dim bStrm: Set bStrm = createobject("Adodb.Stream")
xHttp.Open "GET", "https://frippery.org/files/busybox/busybox.exe", False
xHttp.Send
with bStrm
    .type = 1 '//binary
    .open
    .write xHttp.responseBody
    .savetofile "busybox.exe", 2 '//overwrite
end with

なおReactOS 0.4.1 ではダウンロードできませんでした。

bitsadmin.exe

windows 7以降ではbitsadmin.exeコマンドがある様子。
XP SP3には入っていなかった。(別途インストールが必要か BITSAdmin Tool (Windows))

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4