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:

CPP Quick Guide

Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...