Share via

robocopy multithreading output overrun

b0bh00d 6 Reputation points
2021-12-09T17:42:04.417+00:00

I've been working with robocopy for weeks, writing a GUI on top of it, and I've reached a point where I will likely have to abandon the project. It seems that using ANY multithreaded option (i.e., /MT) causes the output to overrun itself. This is happening whether or not I capture the console output or redirect to a log file. I've attached a snippet from a robocopy run that generated 22,000+ lines of output. The overruns are rampant within the output--this is just one small area.

I've been limiting robocopy to one thread (/MT:1) to ensure linearity in its output, but even then I'm seeing occasional overruns as well.

Any chance Microsoft is going to fix this? (I'd guess it'd be to much to hope that robocopy can be open-sourced so others can fix these kind of things.)

156297-robocopy-log-output.txt

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.