[thelist] Intranet of MS docs using CFDIRECTORY and FSO

David Shadovitz david_shadovitz at xontech.com
Wed Jul 11 18:25:46 CDT 2001


Mike Roberto's posts yesterday on the ColdFusion CFDIRECTORY tag and
various MS file extensions reminded me of an interesting article in MSDN
Magazine, March '00.  The article is "Build an Easy Maintenance Intranet
Site: Using Office Docs, File System Object, and OLE Structured Storage"
and is at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/fso.asp

Essentially, you keep all your MS files (Word, Excel, PowerPoint, Visio,
etc.) into a directory.  You create a list of all files in the directory
and then get the properties of each file via the File System Object.
Then you display these properties and a link to the file in a
dynamically-built HTML page.  Since the page is dynamic, it handles the
addition or removal of docs.

The article is geared for ASP, but it was easy to rewrite the code in
CF.

-David





More information about the thelist mailing list