These days I needed to be able to check on the execution of a repetitive task. If I would use linux I could use the watch command but I am a Windows guy.
So I came up with an alternative – I created a bat file with the below content:
@ECHO OFF :loop cls %* timeout /t 5 goto loop
To change the duration of the loop change the timeout /t 5 value (now it is 5 seconds).
Usage is similar to linux: watch dir *.jpg