Windows: Command line to read version info of an executable file?

前端 未结 7 629
隐瞒了意图╮
隐瞒了意图╮ 2020-12-14 02:23

Does Windows have an executable that I can run in the command shell which returns the version number of an executable (.exe) file?

I see a lot of questions that sho

相关标签:
7条回答
  • 2020-12-14 03:24

    This will give you only the file version:

    wmic datafile where name='c:\\windows\\system32\\notepad.exe' get version
    

    Result:

    Version
    6.1.7601.18917
    
    0 讨论(0)
提交回复
热议问题