Hi to all friends ! i have Folder with unlimited (maybe) sub folders . and last sub folders have unlimited(maybe) files. i want a code for this Event. Read the Directory (for Example: Data\Test). and for each Directory make a Group box with it self name and create a link for its files."all files are HTML" (fore example: Group Box One "Test" Link1 Link2 Link3 ... Group Box Tow "Test2" Link1 Link2 Link3 ... ------------------------------------------------------------------------ Can You Help Me? thank before your Answer.
javascript is certainly not the best option for this task... (rather not an option at all) one way you could accomplish this task is using shell script... or dos batch file programming another way would be like this... step 1 ------------------- output the list of files to a text file. in dos dir /s > dirlist.txt Code (markup): or, in linux ls -aR > dirlist.txt Code (markup): step 2 ------------------- use zencoding to manipulate the list so obtained and achieve the relevant html. you can use zencoding in notepad++ for windows and linux has plugins for numerous text editors... google it... cheers