Using the File System Object to Display Directory Content:

Click here to test this script.

Code:

Place below the <HTML> tag:
Highlight
Place in the <BODY>:
Highlight