What is the Windows analog of the Linux watch command?

Posted by PeterJCLaw on Super User See other posts from Super User or by PeterJCLaw
Published on 2010-09-21T11:30:20Z Indexed on 2014/06/12 21:29 UTC
Read the original article Hit count: 117

Filed under:
|
|

I'm looking for a Windows program/script/command line function that works like Linux's watch program.

watch periodically calls another program/whatever and shows the result, which is great for refreshing an output file or similar every second:

watch cat my-output.txt

or, more powerfully:

watch grep "fail" my-output.txt

I've looked for it in cygwin's library, but it doesn't seem to be present.

© Super User or respective owner

Related posts about Windows

Related posts about linux