2 Replies Latest reply on Feb 7, 2012 4:23 PM by 915411

    Listing the shared folder on a remote computer

      Hi someone who knows how you can list shared folders on a remote computer.
      e.g. all folders on

      It's possible to list folder/files if I enter a shared folder on the remote computer.
      File dir = new File("\\\share");
      File[] files = dir.listFiles();
      Somehow this doesn't work
      File dir = new File("\\");
      File[] files = dir.listFiles();