We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5602c5 commit 99547e8Copy full SHA for 99547e8
BuildArc.cmd
@@ -34,7 +34,7 @@ goto :eof
34
:GET_EXE_VERSION
35
36
SET EXE_PATH=%1
37
-WMIC Path CIM_DataFile WHERE Name='%EXE_PATH:\=\\%' Get Version | findstr /v Version > _tmp_.txt
+powershell -NoLogo -NoProfile -Command "(Get-Item '%EXE_PATH%').VersionInfo.FileVersion" > _tmp_.txt
38
set /P EXE_VERSIONTMP=<_tmp_.txt
39
set EXE_VERSION=%EXE_VERSIONTMP: =%
40
del _tmp_.txt
0 commit comments