Hello,
when copying files, the copies have a last modified file date of the time when the file was copied - for me this doesn't really make sense, as important information is lost.
So my question:
lets assume I want to copy today (2014-09-07) a file with File.LastModified="2013-01-02" from one drive A to another drive X; what can I do so that the copied file on X has the same last modified file date as the file on A - I know the following source worked under 4.2, but it doesn't under 4.4 (kitkat)
Dim r As Reflector
r.Target = r.CreateObject2("java.io.File", Array As String(Dir, FileName), _
Array As String("java.lang.String", "java.lang.String"))
Log(r.RunMethod4("setLastModified", Array As Object(Ticks), Array As String("java.lang.long")))
Many thanks for your help
Best
Heinz-Georg
NB: I tried to find a thread covering this but wasn't successful, so apologies if I missed it