exiftool cannot remove Microsoft:Category

Started by StarGeek, April 13, 2021, 04:01:44 PM

Previous topic - Next topic

StarGeek

Version 12.24

I'm testing out what tags Windows will read and ended up with a file that Windows and exiftool can read Microsoft:Category, but exiftool cannot remove the tag with this output
C:\>exiftool -P -overwrite_original -Microsoft:Category= Y:\!temp\ccc\file.mp4
    0 image files updated
    1 image files unchanged

C:\>exiftool -g1 -a -s -microsoft:Category Y:\!temp\ccc\file.mp4
---- Microsoft ----
Category                        : Microsoft:Category


File is attached.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

StarGeek

#1
Microsoft:Subtitle exhibits similar behavior in that file.

Also, the Microsoft:Keywords probably need to be looked at.  I had one occurrence where Windows wrote to that tag instead of Microsoft:Category and put values of "tags", "tags 2", and "tags 3" into Microsoft:Keywords instead.  Exiftool only returns "tags" but Windows was reading all three entries.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

Thanks for this report.  I'll look into this and report back here when I get a chance.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

This will be fixed in ExifTool 12.25.  It will be a problem for all Microsoft Xtra tags.  The work-around it to make any other change to the file at the same time.

Thanks for this report!

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

ExifTool 12.25 is now out, and should fix this problem.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).