Hi!
There is an API function SetFileTime(). You will have to explore the FileTime data type, however. I can try to make a sample, if you need, but not yet, it requires time that I do not have now.
>I need to copy files of various types to a remote location.
>
>Before I copy these files I need to be able to change their date/time attributes
>to a date/time of my choice and have them arrive at the remote machine with these dates intact.
>
>An API call to do this would be nice:)
>
>I am not very keen on any DOS solutions but all help gratefully received.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.