I am new at batch scripting and looking for a way to extract the "Product Version" field of an .exe file using a command on cmd.
I did managed to get the regular "Version" field of a file using this command:
wmic datafile where Name="C:\\Users\\MyProgram.exe" get Version
is there any way to modify this command line for extracting the "Product Version" field?
Any other solution without wmic at all will also be good :) thanks.