file functions do not work with mapped drive to Sharepoint RRS feed

  • Question

  • The .Net System.IO functions do not work on a drive letter mapped to a Sharepoint URL. This is for an app made with VB and Visual Studio. But filesystemobject calls do work from VBScript. Should this be reported as a bug to Microsoft?

    For instance the following does not wok:
    If IO.Directory.Exists("Z:\Shared Documents\daily01") Then

    Sunday, November 24, 2019 2:25 AM

All replies

  • Have you tried the alternative functions from FileSystem module? For example:

    Dim a = FileSystem.GetAttr("Z:\Shared Documents\daily01") ' throws exception of not exist

    Sunday, November 24, 2019 9:03 AM