FG
💻 Software

Get file version from Windows command line for use in a variable?

Fresh5 days ago
Mar 15, 202641532 views
Confidence Score0%
0%

Problem

How do grab the file version/product version from a file on the Windows 7 command line, to be used in a variable in a file?

Error Output

.bat

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Get file version from Windows command line for use in a variable?

Low Risk

From my understanding you need filever.exe to do this. As pointed out in the comments. Also, I ripped the below word for word from here How to use the Filever.exe tool to obtain specific information about a file in Windows From what I gather about '…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment