CompuServe Thread

#Setting File Time/Date

3 messages in this thread
#5599From: Frank StaplesDec 19, 1990 5:53 PM
Can someone please point me to some sample code that sets the time & date on a file? Preferably in C, but assembler will do too.
#5601From: Bob RakoskyDec 19, 1990 6:02 PM
Julius, If you have access to back issues of the now-defunct Transactor for the Amiga, I had an article in Volume 1, Issue #2 that contained a file-copy utility written in Assembler, that contains code to set the Datestamp of a file. I'll try to find the code and upload it here, as it does provide some good example code (although the program itself is a little out-dated). You may want to send me a reminder if it doesn't show up in a little bit. Hope this helps…. …BobR
#5637From: Frank StaplesDec 19, 1990 10:52 PM
Bob, thanks for the pointer. Happily I have (borrowed) the complete Amiga Transactor set. I also managed to find an example by Andy Finkel in C. However it didn't work for files in sub-directories…until I read in your article: "Note: …MUST NOT include any path info…" Should have it working 100% shortly…