cmd to know the version of a programm code example
Example 1: cmd to know the version of a programm
wmic datafile where name="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" get Version /value
Example 2: get Operating system command
ver && uname #First command show version in Windows and second in Unix