Dim fso As New FileSystemObject不是问题关键 请把详细代码举出 尤其是scripting
我代码 很简单 引用 Microsoft Scripting Runtime 然后 Dim fso As New FileSystemObject If fso.FolderExists("\\192.168.0.12\test") Then 'do something end if在做判断的时候就出错了。
If fso.FolderExists("\\192.168.0.12\test") Then 'do something end if 是不是不同的机子上ip改了!
请把详细代码举出
尤其是scripting
引用 Microsoft Scripting Runtime
然后
Dim fso As New FileSystemObject
If fso.FolderExists("\\192.168.0.12\test") Then
'do something
end if在做判断的时候就出错了。
'do something
end if
是不是不同的机子上ip改了!