我想让我的 PowerShell 从 Internet 下载文件。那么我怎么能做到我的原始代码是$File = URL
Download file.WebClient = File.ext
主页
/
user-1123951
Vakors 3000's questions
Vakors 3000
Asked:
2019-12-24 21:54:46 +0800 CST
我知道该cscript "filename.VBS"
命令,但我想在批处理文件中运行 VBS 代码,因此我不必制作 VBS 文件来执行此操作。
这是我的 VBS 代码:
sub Loading
do while brw.busy
wscript.sleep 350
loop
end sub
query=inputbox("Please Enter What You Would Like To Search:","Multi-Engine Internet Searcher")
'down-Google
set brw=CreateObject("InternetExplorer.Application")
brw.navigate "https://www.google.ca/#q=" & (query)
brw.toolbar=false
brw.statusbar=true
brw.height=650
brw.width=950
brw.left=0
brw.top=0
brw.resizable=true
Call Loading
brw.visible=true
'up-google
'down-bing