Here are some useful resources on the File Object of Microsoft Windows:

Visual Basic 6.0 - File Object
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/ht
ml/vaobjFile.asp

Microsoft Windows Script 5.6 Documentation
http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?ur
l=/msdn-files/027/001/728/msdncompositedoc.xml


You can access the Microsoft Windows File object in ColdFusion using the
CreateObject() function.  Here's an Example:

<snip>

<cfscript>
fileSystemObj = CreateObject("COM","Scripting.FileSystemObject");
fileObj = fsObj.getFile("#ExpandPath('./someFile.gif')#");
</cfscript>

<cfoutput>
The file, #fileObj.name# was last accessed #fileObj.dateLastAccessed#.
</cfoutput>

</snip>

HTH!

--
Scott Van Vliet
Sempra Energy
555 W. 5th St., 21st Floor
Los Angeles, CA 90013
Tel > 213.244.5205
Email > [EMAIL PROTECTED]

"Hello Stupid, and welcome to your crappy computer."
- Strong Bad, HomestarRunner.com






> -----Original Message-----
> From: Ian Lurie [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 18, 2002 12:05 PM
> To: CF-Talk
> Subject: Unique file/directory ID?
> 
> 
> Does WinNT/2000 assign a unique ID to each file and directory 
> (I'm assuming
> yes)?
> 
> If so, can I access it via CF?
> 
> Portent Interactive
> Helping clients build customer relationships on the web since 1995
> Consulting, design, development, measurement
> http://www.portentinteractive.com
> Talk with us: http://projects.portentinteractive.com
> 
> 
> 
______________________________________________________________________
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

Reply via email to