TCMDVER is the current major version, minor version, and build number of Take Command. (For example, "22.00.40".)  It  is only available to applications started in Take Command tab windows.