General information
Category:
Coding, syntax & commands
Well, I did find a small error in your code, but even ater changing endproc->endfunc on line 25 and fixing the path for contime...it still doesn't work.
I thought it might be a problem simply with changing the timestamps on the exe because foxtouch works on .txt files but not on .exe's. Take a look and perhaps you or another helpful person could point me in the right direction, in terms of using your program.
******
lcfile = 'C:\Matt\Discovery\LB_400\LogBook\archiver.exe'
lcfile2 = 'C:\Matt\Discovery\LB_400\LogBook\myfile.txt'
ltModified = datetime()
ltCreate = datetime()
* Retrieve a file's date/time stamps
SET PROCEDURE TO FileTime ADDITIVE
oFileTime = CREATEOBJECT("FileTimes")
llresult = oFileTime.SetFilesTime(lcfile, , , ltModified)
llresult = oFileTime.SetFilesTime(lcfile, , , ltModified)
*******
I essentially, c&p'ed precisely what you had in the abouttime.doc...Am I missing something?
ty
m
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only