Saturday, July 13, 2013

Get file version using WMIC

c:\> wmic datafile c:\\windows\\system32\\cmd.exe get version

Change cmd.exe to the file that you want to get the version information. Note here that we are using double backslashes, that is required by WMIC to escape the backslash character.

No comments: