Microsoft Windows [Version 10.0.18363.900] (c) 2019 Microsoft Corporation. Wszelkie prawa zastrzeżone. c:\>Touch32.exe Touch32 v.0.99c for Windows, 2020-06-12, A. Kubaszek Sets the date and time that a file (or directory) was created, last accessed or last modified. Syntax: Touch32 File [ /[w][a][c][h][[f]|[s]|[n]] ] [RefFile] [StringFormat] [HourCorr] [DateTime] A File (or directory) must exist. Use /s or your local format for DateTime parameter. If you do not specify DateTime, the current time is used. Switches are set of characters: w - update the Last Write Time (default) a - update the Last Access Time c - update the Creation Time h - +/- hour correction (float number) f - use the corresponding timestamps from the file RefFile. RefFile parameter must be defined in this case. Switches w,a,c can be also defined - they concern 3 corresponding RefFile parameters. s - use string format; other chars are ignored n - date from file name (not path) with string format "yyyyMMddHHmmss" ignoring non-digits Default MM or dd is 01, and 00 for HH mm ss Examples: (errorlevel = 0 or 1013 if error occur) Touch32 MyFile.txt /wa Touch32 "My file.txt" /f "Ref file.txt" Touch32.exe "IMG_20171102_070826_hdr.jpg" /s "yyyyMMddHHmmss" "IMG_20171102_070826_hdr.jpg" (date and time from 3rd param. ignoring all chars but digits in this /s format) Touch32.exe "IMG_20171102_070826_hdr.jpg" /n Touch32 "My file.txt" 2020-06-12 16:28:00 c:\>