Will the options /nfl /ndl be enough and not exclude errors too?

1 Answer 1


Besides /nfl (no list of file names) and ndl (no list of directory names) there are some other switches to exlude things from the output. These are:

  • ns (no file sizes)
  • nc (no file classes)
  • np (no status)
  • njh (no job header)
  • njs (no job summary)

If you want to write your log into a text file, your command should look like this:

robocopy [source] [destination] /nfl /ndl /njh /njs /ns /nc /np >> log.txt
  • 4
    Robocopy also has options: /LOG:filename to specify where to write the log file, /LOG+:filename to append to an existing log file, and /TEE to write the log to a file while also displaying it to the screen. Jan 9, 2016 at 1:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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