How to get the attributes, details, program name and version number of doc and xls files under win?

how can I get this information? I want to know whether this doc file is made by ms office or wps. Microsoft agents have threatened several times. I am also superficial to cPP. Now I can only go through this file to find the doc file, and then I can"t do it any more. Please give me some advice

.
CPP
Mar.22,2021

this meta data is part of the file format and is usually generated by the editor that created the file, that is, what you call ms word or wps, but can be edited and modified at will.

if there is no special request, use python. A ready-made library is available. One command olemeta xxx.doc
https://github.com/decalage2/.


cPP has a library called xlslib, which should implement

.
Menu