1
I want to write the output of a Robocopy command into a text file that I can review to see which files were copied and so forth.
I tried these commands...
robocopy drive:\ destination:\ /e /v>log.txt
robocopy drive:\ destination:\ /e /v /l>log.txt
but none of them worked.
Furthermore, I also tried both commands with >>log.txt
instead of >log.txt
using both forms of redirection in that syntax variation but still didn't work.
You may need to redirect error messages, which can be done using
2>
instead of (or in addition to) the plain>
. – Thomas Dickey – 2015-12-25T12:16:31.333