Using the File System Object to Display Directory List:

Click here to test this script.

Code:

Place below the <HTML> tag:
Highlight