How do I hide "Extra File" and "100%" lines from robocopy output?



Robocopy is a powerful command line utility used in Windows to copy files and directories from one location to another. It is part of the Windows Resource Kit and can be used to quickly and easily copy large amounts of data. It is especially useful for administrators who need to migrate or replicate data quickly and accurately.

However, one of the drawbacks of Robocopy is that its output is quite verbose and can be difficult to parse. By default, Robocopy will display every file and directory copied and even show the number of bytes in each file. This can be quite overwhelming and makes it difficult to identify errors or problems in the output.

Fortunately, there is a way to hide extra file and line information from Robocopy output. This can be done by using the “/ndl” switch. This switch will suppress the extra file and directory listings in the output. It will also suppress the number of bytes in each file.

In addition, the “/nfl” switch can be used to hide the extra lines in the output. This switch will suppress the extra lines that are displayed when Robocopy is copying multiple files or directories.

Finally, the “/nc” switch can be used to hide the “100 lines” from the output. This switch suppresses the lines that are displayed when Robocopy is copying files over 100 lines long.

Using the “/ndl”, “/nfl”, and “/nc” switches together will result in a much simpler Robocopy output that is easier to read and interpret. This can be especially useful for administrators who are troubleshooting or monitoring a Robocopy job.

In summary, Robocopy output can be simplified by using the “/ndl”, “/nfl”, and “/nc” switches. This will suppress extra file and directory listings, extra lines, and lines over 100 lines long, respectively. This can make it much easier to parse the output and identify any errors or problems.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo