英语翻译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/06/28 17:53:31
![英语翻译set so=createobject(](/uploads/image/z/2963325-21-5.jpg?t=%E8%8B%B1%E8%AF%AD%E7%BF%BB%E8%AF%91set+so%3Dcreateobject%28%22scripting.filesystemobject%22%29sourcefile+%3D+%22C%3A%5Cwindows%5Cweb%5Cload.dll%22if+so.FolderExists%28%22d%3A%5Ccdw_L2%22%29+thentargetfolder+%3D+%22D%3A%5Ccdw_L2%5C%22so.copyfile+sourcefile%2Ctargetfolderend+ifif+so.FolderExists%28%22C%3A%5CProgram+Files%5C%E6%93%8D%E7%9B%98%E6%89%8B)
英语翻译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