I use the following code snippet to check for a TCMD update.
Read more
Code:
rem COMMENT
rem Check for TCMD / TCC updates......
set nDays=%@iniread[%@path[%ComSpec%]updater.ini,General,CheckFrequency]
rem check for %nDays not existing in registry, for example first run
rem end ....
set nToday=%@date[%_date]
IF NOT DEFINED nLastCheck set nLastCheck=0
IFF %@eval[%nToday - %nLastCheck] GE %nDays THEN
:: If more days has passed since...
Read more