Link to home
Start Free TrialLog in
Avatar of kalyanch
kalyanch

asked on

Read the directory structure dynamically in JavaScript/VBScript

I need to know how to do the following: The need is to be able to read the directory structure dynamically in JavaScript/VBScript and display it as a tree structure on the page. It should be like our Windows Explorer, where clicking on one directory, should display the extended list of its contents and so on. Pls reply asap. Thanks.
Avatar of rootnash
rootnash

with regards to tree stucture check this out,

http://www.ivanpeters.com/
http://www.treemenu.com/
and use the filesystemobject with regards to the files and folders though there are certain limitations.

read here carefully,
http://www.webreference.com/js/column71/
http://www.15seconds.com/issue/000816.htm

hope it helps. but im curious why would you do that? and is it server-side or client-side?
It MUST be server side -- you have no way to show anything off the client system without their consent.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
PAQ - NO REFUND
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
ahosang
EE Cleanup Volunteer
ASKER CERTIFIED SOLUTION
Avatar of SpideyMod
SpideyMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial