1

What is the best way to display the folders/files name on the html page of it's home directory. This html files is on client machine which only requires to access locally and from it's own home directory. As i tried using var fso = new ActiveXObject("Scripting.FileSystemObject"); but it's only accessible in IE and i can not access in firefox/chrome.

Please let me know if we can access the file/folders list which i want to display on the html page.

user1010399
  • 2,258
  • 5
  • 30
  • 42

1 Answers1

-1

I will repeat @Arum Killu words "actually js cannot access local file system" from inside a browser. You are going on in a dead end direction IMHO. If you want a local off-line stand alone system you can try a local http server or use local storage. Optionally you can put the pages locally and make an index page or frame that show the structure with links.

HMarioD
  • 842
  • 10
  • 18