
How to set file date/time?
Quote:
>Does anyone know of a way to set a given file's date/time/size?
>SDK includes functions to get date/time/size but I haven't been
>able to find any function that would set the same.
How about SetFileTime() to set the time & date?
As for setting a file size, I'd guess if you want to truncate a file
you could open the file, seek to the required position, use
SetEndOfFile, and close it.
Dave
----
Address is altered to discourage junk mail.
Remove ".---" for the real address.