Directory.Exists(path) 问题......请教!!!!!!!
我有一句程序:
If Not Directory.Exists(path) Then Directory.CreateDirectory(path)
判断路径是否存在,不存在则创建。
假设本机IP时192.168.0.1,共享目录share
但是当路径时"\\192.168.0.1\share\",上面程序正确
假设其他机器IP:192.168.0.2,共享目录share
路径为"\\192.168.0.2\share\"就抱错!!
请问如何解决网络访问存储?应该用什么函数?
谢谢!!!