Hi,
I use the following two Filewatcher instructions to change the original creation/modification time. I use the nested structure of existing files on the disk as below,
And not all media files can be modified, I get a mistake: java.nio.file.NoSuchFileException: D:\..\0000.mp4
What's wrong? Files are not used by any other program. Maybe some of you have gained an enjoyment in changing the date and time for files, and he could tell me something?
Thanks in advance.
D:\DCIM\22\A_0023\0000.mp4
D:\DCIM\22\A_0023\0010.mp4
D:\DCIM\22\A_0023\0020.mp4
..
D:\DCIM\22\B_0023\0000.mp4
D:\DCIM\22\B_0023\0010.mp4
D:\DCIM\22\B_0023\0020.mp4
.. etc.
I use the following two Filewatcher instructions to change the original creation/modification time. I use the nested structure of existing files on the disk as below,
And not all media files can be modified, I get a mistake: java.nio.file.NoSuchFileException: D:\..\0000.mp4
What's wrong? Files are not used by any other program. Maybe some of you have gained an enjoyment in changing the date and time for files, and he could tell me something?
Thanks in advance.
: FileWatcher:
cttimes = fw.GetCreationTime(filePath) 'Log creation time of a file
fw.SetCreationTime(filePath, timestamp) 'Set the creation time to now
fw.SetLastModifiedTime(filePath, timestamp) 'Set the last modified time to now
. . .
Log(LastException.Message)
D:\DCIM\22\A_0023\0000.mp4
D:\DCIM\22\A_0023\0010.mp4
D:\DCIM\22\A_0023\0020.mp4
..
D:\DCIM\22\B_0023\0000.mp4
D:\DCIM\22\B_0023\0010.mp4
D:\DCIM\22\B_0023\0020.mp4
.. etc.