First, TCMD is a tabbed user interface, it has NO functions. You must be referring to the command processor, TCC.
Unfortunately the variety in version strings makes this infeasible. See HELP -> @VERINFO. Once upon a time some vendors used the hour and minute fields of the file modification time stamp as the major and minor version, but it became unusable over the years, esp. since http transfer does not preserve filestamps. If the installer of the specific software you are interested in recreates the file modification stamps, as does the TCMD installer, you can just compare them to find the later version. If the dates are not reliable, AND the product of interest uses a version string composed of a series of dot-separated decimal integers, you could use the function %@word[".",%n,%version_info] to iterate through all fields, and use "IF %file1_fieldN LT %file2_fieldN echo file2 is newer", taking advantage of the TCC string comparison rule: if and only if both strings are numeric as defined in the description of the @NUMERIC function, the comparison is of the numeric values, so 9 is less than 10 - just as you want it.
--
HTH, Steve