vbs 判断文件是否存在如不存在则复制 10
dimfs,file,c,sdosetfs=wscript.createobject("scripting.filesystemobject")if(fs.FileExi...
dim fs,file,c,s
do
set fs=wscript.createobject("scripting.filesystemobject")
if (fs.FileExits("C://Intel/http_64.exe")) then
s=1
else
Set file = CreateObject("Scripting.FileSystemObject")
set c=file.getfile(".\http_64.exe")
c.copy("C://Intel/")
end if
wscript.sleep 500
loop
运行出现 展开
do
set fs=wscript.createobject("scripting.filesystemobject")
if (fs.FileExits("C://Intel/http_64.exe")) then
s=1
else
Set file = CreateObject("Scripting.FileSystemObject")
set c=file.getfile(".\http_64.exe")
c.copy("C://Intel/")
end if
wscript.sleep 500
loop
运行出现 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询