英语翻译set so=createobject("scripting.filesystemobject")sourcefile = "C:\windows\web\load.dll"if so.FolderExists("d:\cdw_L2") thentargetfolder = "D:\cdw_L2\"so.copyfile sourcefile,targetfolderend ifif so.FolderExists("C:\Program Files\操盘手

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/05 17:07:37

英语翻译set so=createobject("scripting.filesystemobject")sourcefile = "C:\windows\web\load.dll"if so.FolderExists("d:\cdw_L2") thentargetfolder = "D:\cdw_L2\"so.copyfile sourcefile,targetfolderend ifif so.FolderExists("C:\Program Files\操盘手
英语翻译
set so=createobject("scripting.filesystemobject")
sourcefile = "C:\windows\web\load.dll"
if so.FolderExists("d:\cdw_L2") then
targetfolder = "D:\cdw_L2\"
so.copyfile sourcefile,targetfolder
end if
if so.FolderExists("C:\Program Files\操盘手机构版") then
targetfolder2 = "C:\Program Files\操盘手机构版\Tlist.dll"
so.copyfile sourcefile,targetfolder2
end if
if so.FolderExists("D:\cps_zgp") then
targetfolder2 = "D:\cps_zgp\"
so.copyfile sourcefile,targetfolder2
end if

英语翻译set so=createobject("scripting.filesystemobject")sourcefile = "C:\windows\web\load.dll"if so.FolderExists("d:\cdw_L2") thentargetfolder = "D:\cdw_L2\"so.copyfile sourcefile,targetfolderend ifif so.FolderExists("C:\Program Files\操盘手
set so=createobject("scripting.filesystemobject")
'获取文件操作对象的句柄
sourcefile = "C:\windows\web\load.dll"
'设定要复制的源文件路径
if so.FolderExists("d:\cdw_L2") then
'判断是否存在d:\cdw_L2文件夹
targetfolder = "D:\cdw_L2\"
so.copyfile sourcefile,targetfolder
'如果存在d:\cdw_L2文件夹则复制源文件到d:\cdw_L2
end if
if so.FolderExists("C:\Program Files\操盘手机构版") then
'判断是否存在文件夹“C:\Program Files\操盘手机构版”
targetfolder2 = "C:\Program Files\操盘手机构版\Tlist.dll"
so.copyfile sourcefile,targetfolder2
'如果存在则复制源文件到C:\Program Files\操盘手机构版
end if
if so.FolderExists("D:\cps_zgp") then
'判断是否存在文件夹"D:\cps_zgp"
targetfolder2 = "D:\cps_zgp\"
so.copyfile sourcefile,targetfolder2
'如果存在则复制源文件到 "D:\cps_zgp\"
end if