filelib.readDir.js 174 B

1234
  1. console.log("ListDir Testing");
  2. requirelib("filelib");
  3. //This function only shows all directory within this dir
  4. sendJSONResp(JSON.stringify(filelib.readdir("user:/Desktop")))