|
#1
|
|||
|
|||
|
Javascript listing files in folder
Can Javascript be used to list all the files contained in a subfolder. I have a bunch of word documents and pdf's that need to be linked too, but I would like it to be dynamic becuase the list will be changing a lot.
thanks for your brain-power! |
|
#2
|
|||
|
|||
|
Please read about "FileSystemObject".
Find files with JavaScript http://www.codeproject.com/jscript/search_in_files.asp JScript FileSystemObject Object http://ns7.webmasters.com/caspdoc/ht...ect_object.htm Current Directory http://javascript.internet.com/navig...directory.html Scripting.FileSystemObject Examples http://www.eggheadcafe.com/articles/20030627b.asp P:S~ If the users dont accept the ActiveX script to run on their machine, your script won't work.
__________________
Best Regards, Michael Sync http://michaelsync.net The more you share,The more you get |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compare last 10 digits of a file | mkebe | VB Classic | 9 | 03-21-2006 11:58 AM |
| list files in a folder | ni2shiv | VB Classic | 2 | 10-02-2005 10:10 AM |
| Listing the content of a folder into an array | philippeschneid | Web | 2 | 09-18-2005 06:47 PM |
| folder, subfolders, and text files | pantea | .NET | 2 | 05-24-2005 04:36 PM |
| Can JavaScript files be included into ASP scripts using <- -! include directive | shravan | ASP.NET | 3 | 10-15-2002 08:40 PM |