I'm looking for a way to use the command line on windows 10 and 11 to read the File description
field from the metadata of a file.
The value of many other fields can be get using wmic as described in answers to this question.
But there seems to be no way to get the value displayed on File description
using that method. For example, for the windows explorer.exe
, the properties shown in Win11 might look like this
but all wmic
displays is the full path to the file:
C:\>wmic datafile where Name="C:\\windows\\explorer.exe" get Description
Description
C:\windows\explorer.exe
Are there ways to get every field shown in the explorer.exe dialog and get the same value as shown there using the command line?