Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Robocopy has the option to monitor the source directory, and copy over any files that have changes. You can specify how many changes in the directory must occur before copying (/mon n where n is the number of changes) and how long to wait before rescanning (/mot t where t is the time to wait in minutes).

I'd like to monitor a folder nearly continuously, since there's only 1 file I'm scanning for, and I want changes to be basically instant. I can't seem to make robocopy monitor for a timespan less than one minute though. I've tried /mot 0.5 and it fails. I also tried /mot 0 and robocopy just exits after scanning once, without monitoring continuously.

How can I make robocopy scan a folder near-continuously, with time increments of less than 1 minute? Alternatively, is there any other command line tool that can constantly monitor a file source and copy changes in real time?

share|improve this question
Does HAVE to be Robocopy? –  Ƭᴇcʜιᴇ007 Oct 31 '12 at 20:05
@techie007 if there's something else that achieves the same requirements, that would be fine, although I'd like to avoid third-party tools if possible. But if there's a perfect solution that's third-party then I'm willing to consider it. –  nhinkle Oct 31 '12 at 20:46
@techie007 - I have the same exact problem as nhinkle, and I am using Robocopy in the same exact way. If you do know of an alternative solution that works well on Windows I am open to it. Please share it with us –  Durden81 Oct 3 '14 at 9:03
Testing Freefilesync now.. it seems to be the tool I needed. –  Durden81 Oct 3 '14 at 10:45

1 Answer 1

up vote 1 down vote accepted


Monitors source, and runs again in M minutes if changes are detected.

As it accepts only minutes as argument, I guess you can't force it to run more often. You could however, run it using a batch file and let the timing & looping occur in the batch-file or in scheduled tasks rather than within robocopy.

share|improve this answer
yeah, I use "ping -n 1 -w 500>NUL" to sleep half a second, then loop it with a :LABEL and a GOTO statement (in cmd) –  Stig Eide Jan 16 at 8:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.