0 Replies Latest reply on Jun 27, 2011 11:14 PM by GRAMOPHONE

    FileXtra4 fx_FolderExists...?

    GRAMOPHONE Level 1

      Hi,
      I have this to find if a folder exists:
      ------------------------------------------
      MyPath = "C:\MyFolder"
      fxObj.fx_FolderExists(MyPath)
      put value(fxObj.fx_FolderExists(MyPath))
      fxObj = 0
      ------------------------------------------
      This returns 1 if the folder exists and 0 if it doesn't.

       

      ------------------------------------------------------------------
      My problem is when I want to check in a server:

       

      MyPath = "\\MyServer\MyFolder"
      fxObj.fx_FolderExists(MyPath)
      put value(fxObj.fx_FolderExists(MyPath))
      fxObj = 0

       

      This always returns 0 even if "MyFolder" exists.

      Is there a way I can test this for a server without entering
      a drive letter? I mean just as above, which is a path of a shared
      folder...

       

      Thanks