已经明白
if fso.fileexists(“c:\kk.txt”) then //表示如果文件存在
..
end if
请教大神们
if fso.fileexists(“c:\kk.txt”)=0 then //加了等于0是什么意思,是赋值还是表示判断,其次这个值得定义都有哪些?
..
end if
vbs脚本 fileExists()
答案:2 悬赏:0
解决时间 2021-04-18 09:51
- 提问者网友:恋你成殇
- 2021-04-17 17:32
最佳答案
- 二级知识专家网友:如果这是命
- 2021-04-17 17:48
不要学这些怪象:
if fso.fileexists(“c:\kk.txt”)=0 then '表示不存在的时候执行
正确的书写方法:
if not fso.fileexists(“c:\kk.txt”) then
if fso.fileexists(“c:\kk.txt”)=0 then '表示不存在的时候执行
正确的书写方法:
if not fso.fileexists(“c:\kk.txt”) then
全部回答
- 1楼网友:留下所有热言
- 2021-04-17 18:16
同问。。。
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯