Possible duplicates:Command line tool to reset Windows dll version? How to get file version from batch file in Windows Vista?
Is it possible to get the version of a dll or exe file using command commands and save it in a variable?
Here is an example using sigcheck:
@ECHO OFF FOR /F "tokens=1-3" %%i IN ('p:\supporttools\sigcheck.exe p:\supporttools\procmon.exe') DO ( IF "%%i %%j"=="File version:" SET filever=%%k ) ECHO The version of the file is %filever% PAUSE
Take a look at the Sysinternals SigCheck utility. Try this in your batch script:
sigcheck.exe -n YourFile.exe
Source: https://habr.com/ru/post/892782/More articles:C # capturing basic event keyboard forms - c #Network environments Sitecore - environmentGet scope of call in PHP function? - scopehttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/892780/how-can-i-get-iis-to-publish-cache-headers-for-my-faviconico&usg=ALkJrhjQNn9vFPLPozNvwMXGjGZPqLKY6QContentType Compliance Request Does Not Exist - content-typeThe problem with scp on Mac OS X: scp does not like spaces in file names, the "\" fix does not work - sshCreating an HTMLDocument from an HTML string (in Java) - javaemulator problem after new ADT update - androidASP.NET MVC3 Update - "An attempt to [independently] access the System.Web.Mvc.Controller.View (...) method failed" - c #How can I override Tie :: File in Scala? - scalaAll Articles