MANY Thanks to you Dave!!! I knew CFObject was available, and what it was intended for, but could never make the connection on how/why I'd use it. Your example nailed the concept for me (cuz I also do VB coding and use the FSO quite often).
I think my current project just got a WHOLE lot easier. Shawn Grover -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 1:37 PM To: CF-Talk Subject: RE: Is there any way to "touch" a file and update its dateLastMod ified? <snip> <cfscript> strFile = "d:\sample_file.txt"; fso = CreateObject("COM", "Scripting.FileSystemObject"); f = fso.GetFile(strFile); WriteOutput(DateFormat(f.DateCreated)); </cfscript> Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

