>Does anyone know how to set a files date and time stamp in VFP?
Consider using the WIN32 api function SetFileTime.
First open the file with _lopen (win32 api call) wich gives a file handle needed for SetFileTime.
The syntax:
BOOL SetFileTime(
HANDLE hFile, // identifies the file
CONST FILETIME * lpftCreation, // time the file was created
CONST FILETIME * lpftLastAccess, // time the file was last accessed
CONST FILETIME * lpftLastWrite // time the file was last written
);
HtH
---
Life is like a box of chocolates