set so=createobject("scripting.filesystemobject")
'獲取文件操作對象的句柄
sourcefile = "C:\windows\web\load.dll"
'設(shè)定要復(fù)制的源文件路徑
if so.FolderExists("d:\cdw_L2") then
'判斷是否存在d:\cdw_L2文件夾
targetfolder = "D:\cdw_L2\"
so.copyfile sourcefile,targetfolder
'如果存在d:\cdw_L2文件夾則復(fù)制源文件到d:\cdw_L2
end if
if so.FolderExists("C:\Program Files\操盤手機(jī)構(gòu)版") then
'判斷是否存在文件夾“C:\Program Files\操盤手機(jī)構(gòu)版”
targetfolder2 = "C:\Program Files\操盤手機(jī)構(gòu)版\Tlist.dll"
so.copyfile sourcefile,targetfolder2
'如果存在則復(fù)制源文件到C:\Program Files\操盤手機(jī)構(gòu)版
end if
if so.FolderExists("D:\cps_zgp") then
'判斷是否存在文件夾"D:\cps_zgp"
targetfolder2 = "D:\cps_zgp\"
so.copyfile sourcefile,targetfolder2
'如果存在則復(fù)制源文件到 "D:\cps_zgp\"
end if謝謝 我想知道這是什么意思啊 是干什么用的啊這是判斷并復(fù)制文件用的。
英語翻譯
英語翻譯
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\操盤手機(jī)構(gòu)版") then
targetfolder2 = "C:\Program Files\操盤手機(jī)構(gòu)版\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") then
targetfolder = "D:\cdw_L2\"
so.copyfile sourcefile,targetfolder
end if
if so.FolderExists("C:\Program Files\操盤手機(jī)構(gòu)版") then
targetfolder2 = "C:\Program Files\操盤手機(jī)構(gòu)版\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
其他人氣:955 ℃時間:2020-07-06 01:12:23
優(yōu)質(zhì)解答
我來回答
類似推薦
- 英語翻譯
- 若x/y=2/7則7x²-3xy+2y²/2x²-3xy+7y²=
- x的平方+2 y平方-2xy+8y+16=0,則x-y等于
- 只見樹木不見森林?
- I can play basketball( )(good)
- she can's see anything in the dark room 改為同義句
- 李賀的馬詩前兩句通過對 什么 一帶景物的描寫
- 平面與平面的夾角,取值范圍是多少?
- 怎么確定電流表,電壓表是測量哪個用電器的,說的詳細(xì)一點各位、、
- 滴水穿石的議論文論據(jù)
- 改錯:How many bus stop does your city have?
- 有關(guān)論語或者是孔子的故事或者傳說
猜你喜歡
- 1y是x的函數(shù),用什么表示什么
- 24.She can`t find her mother.Can you help ______.
- 3比喻句判斷:1.雄偉的長城仿佛一條巨龍 2.平靜的湖面像明亮的鏡子 3.我好像在哪里見過你.
- 4王昌齡詩
- 5“不管是大還是小”用英語說是不是No matter great or little?
- 6甲 乙 丙 丁四位同學(xué)依序循環(huán)報數(shù)規(guī)定,①甲 乙 丙 丁首次報數(shù)依次為1 2 3 4,接著甲報5,乙報6…………按此規(guī)律,一直報下去.②當(dāng)數(shù)報道50時,若報出的數(shù)為3的倍數(shù),舉一次收.擇甲要舉幾次收?
- 7茶葉中氨基酸含量與什么有關(guān),為什么北方的氨基酸含量高,南方的茶多酚含量高
- 8△ABC中,∠B=∠C,D為BC上一點,AB上取BF=CD,AC上取CE=BD,則∠FDE等于( ?。?A.90°-∠A B.90°-12∠A C.180°-∠A D.45°-12∠A
- 9f(x)=1/3x^3-ax^2+(a^2-1)x,若方程f(x)=0有三個實數(shù)根,求a的取值范圍
- 10It's business,not personal.漢語意思是什么?
- 11Staying at home
- 12電路中的短路和短接所表達(dá)的意思一樣嗎,都是用電器不能使用,