>Does anyone have a prototype function for getting the modify and last accessed dates of a file from VFP? Thanks
Simplest would be to use the Scripting.FileSystemObject automation object from the Windows Script Host; the File and Folder objects can provide DateCreated, DateLastAccessed and DateLastModified as properties.
oFSO = CREATEOBJ('Scripting.FileSystemObject')
oFile=oFSO.GetFile('C:\Autoexec.bat')
? oFile.DateCreated
? oFile.DateLastModified
? oFile.DateLastAccessed