T201016 Active Member Licensed User Longtime User Aug 24, 2025 #1 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. Code: Copy 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.
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. Code: Copy 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.
DonManfred Expert Licensed User Longtime User Aug 24, 2025 #2 T201016 said: D:\..\0000.mp4 What's wrong? Click to expand... The given path is not valid. .. refers to the parent folder. There is no parent folder above D:\ in Windows. Upvote 0
T201016 said: D:\..\0000.mp4 What's wrong? Click to expand... The given path is not valid. .. refers to the parent folder. There is no parent folder above D:\ in Windows.
T201016 Active Member Licensed User Longtime User Aug 24, 2025 #3 DonManfred said: D:\..\0000.mp4 What's wrong? Click to expand... Of course, this refers to a full and correct path, here I wrote it in short. Maybe Filewatcher has a limit on the number of files? Upvote 0
DonManfred said: D:\..\0000.mp4 What's wrong? Click to expand... Of course, this refers to a full and correct path, here I wrote it in short. Maybe Filewatcher has a limit on the number of files?