Top DevX Stories
Location-Aware App Review
The Future of Web Content -- HTML5, Flash, and Mobile Apps
Moonlight 3.0 Preview Offered For Rich Internet Apps on Linux and Unix
Why a Moderator is Key in the Engineering Review Process, Part II
Windows 7 Features Your Clients Will Need on Day One
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > Web

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 07-03-2006, 03:50 PM
buma buma is offline
Registered User
 
Join Date: Jun 2006
Posts: 23
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!
Reply With Quote
  #2  
Old 07-04-2006, 02:11 AM
Sync Sync is offline
Senior Member
 
Join Date: Dec 2004
Posts: 717
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
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT -4. The time now is 12:21 PM.


Sponsored Links



Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.