Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

migrated from Oct 18 '12 at 6:56

This question came from our site for professional and enthusiast programmers.

up vote 5 down vote accepted

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
share|improve this answer
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. – Kevin Fegan Jan 9 at 1:22

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.