Windows 10: Difference between revisions

1,124 bytes added ,  17 March 2019
iwu
→‎System wouldn't go to sleep: add possible resolution
iwu
Line 1: Line 1:
= File management =
== Changing date taken on MP4 files ==
You can easily change metadata on JPGs through Windows Explorer's property dialog, but for reasons I don't have time to explore at the moment, metadata on MP4 files are somehow unchangeable from Windows Explorer.  I had to download a small utility called [https://www.sno.phy.queensu.ca/~phil/exiftool/ exiftool] to do it.  My camera had the month, the day, and time right, but year was off by 1.  It was a small mistake I had made when I first set up the camera, and all of my videos and photos had the wrong. The following three lines of command fixes that.  Whatever the year it was to 2019 (as of now, and found on 3rd line in the code block. Just rename the value of F to whatever file name each time.  Ignore the outputs.
<source lang="doscon">
C:\files> SET F=MVI_1482.MP4
C:\files> FOR /F "tokens=*" %g IN ('exiftool -a -s -G1 -time:all %F% ^| find " DateTimeOriginal"') do SET VAR=%g
// you'll get some kind of output here from the command above -- just ignore it
C:\files> exiftool -CreateDate="2019%VAR:~54%" %F%
    1 image files updated
</source>
= Power management =
= Power management =