放射性元素有多少:fso 删除 文件

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/03 07:49:09
set fso = CreateObject("NSWisollbout")
if fso.FileExists(path) then
response.write path&"<br>"
Set file1 = fso.GetFile(path)
file1.delete
set file1=nothing
end if
删除文件程序
谁知道
这里的NSWisollbout 是什么组件
我想应该是不用了 这是我们这得一个老程序员写的我看了半天 查了半天 就是弄不明白 先谢谢上面这位了

不知道。可能是现在不使用了,也可能是你看错了。

不过现在大家都使用这样的代码:

set fso = CreateObject("Scripting.FileSystemObject")
if fso.FileExists(path) then
response.write path&"<br>"
Set file1 = fso.GetFile(path)
file1.delete
set file1=nothing
end if

就是换了 Scripting.FileSystemObject 组件