On 2007-04-07, at 22:24, Lennox Jacob wrote: > Hello, > > I was going through the REALbasic Tutorial (TextEditor-ch9.rbp) > again and I noticed that when a file is created and then modified, > both the Creation and Modification Dates and Times are always > updated to the date and time of saving. > > If the file is closed then reopened and modified, again the > Creation and Modification Dates and Times are the date and time of > saving. > > How can that be corrected so that the Creation date and time > remains unchanged whilst the Modification date and time of saving > be updated? > > Thanks. > > Lennox >
something like this if File Exists then read old date to a variable write new file newfile.CreationDate = olddate end if (check the LR folderitems about date and time stamps on files) Sven E _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
