
How do I create a VBScript to generate an HTML file listing of a directory
Hi,
I would like to write a
VBScript that will read the contents of a
directory on the web server and generate an HTML file that contains URL
links to every file in the directory. The files will all be bitmaps and when
a user clicks on the link (created from the long filename) the user will see
the bitmap load in their browser. I've determined how to use the
FileSystemObject object with the GetFolder and Files properties to build a
list of the files. I have not figured out how to build the files from a
directory on the server nor have I figured out how to build the html file or
URL's. I am hosting my site on an NT4 Server SP6a with IIS4 installed. I
have little VBScript experience so if anyone can help I'd greatly appreciate
it.
Thanks,
John O'Neill Sr.
Rodeo Systems