tree menu from current folder



i tried to find tutorials to build a working tree menu from contents of
current folder but was unable to find any, neither did i find any
working scrit to build on

can anyone suggest something

i am a newbie to javascript but i did manage to come up with something
using filesystemobject

Set fso = Server.CreateObject("Scripting.FileSystemObject")

path = server.mappath("/")
Set root = fso.GetFolder(Path)
Set files = root.files
Set folders = root.SubFolders

response.write "<ul>"
for each folder in folders
response.write "<li>"+folder.name & "</li>"
next
for each file in files
response.write "<li>"+file.name & "</li>"
next
response.write "</ul>"





--------------------------
http://www.eecpindia.com
http://www.anchorfx.com
http://forex.eecpindia.com


*** Sent via Developersdex http://www.developersdex.com ***
.



Relevant Pages

  • tree menu from current directory
    ... i tried to find tutorials to build a working tree menu from contents of ... current folder but was unable to find any, ... Set root = fso.GetFolder ...
    (microsoft.public.scripting.vbscript)
  • Re: Can I delete a run time image?
    ... You can delete the entire _FLATRELEASEDIR folder, ... That puts you in the folder. ... Building the Custom Run-Time Image for the Emulator ... tutorials 1 to 3, can I just delete the MyOSDesign subdirectory. ...
    (microsoft.public.windowsce.embedded)
  • Re: Trying to build HelloWorld executable
    ... After building your run-time image, you view the files and folders that were ... Use Windows Explorer to browse to the Tutorial\HelloBuild folder. ... You don't build executables there, ... (FP2007 tutorials) ...
    (microsoft.public.windowsxp.embedded)
  • Re: Trying to build HelloWorld executable
    ... I did copy the HelloWorld.exe from Disk 1, ... (FP2007 tutorials) ... step 6:Explore the Run-Time Image. ... Use Windows Explorer to browse to the Tutorial\HelloBuild folder. ...
    (microsoft.public.windowsxp.embedded)
  • Re: downloadable tutorial book
    ... Some MM tutorials here: ... They're in MOV format and you can save them from your temporary internet ... What I'm trying to do is save the MOV files and the start page in a folder ... it could be done by viewing the source code and setting links in the HTML ...
    (microsoft.public.windowsxp.moviemaker)