Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1683

upgrade query

$
0
0
I use the following code snippet to check for a TCMD update.
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

Viewing all articles
Browse latest Browse all 1683

Trending Articles