Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to run robocopy in some sort of "completely silent" mode?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

Any command-line utility can be made completely silent by redirecting stdout and stderr to the special file 'nul'. This is Windows' equivalent to /dev/null on *nix systems.

command >nul (stdout is not echoed)

command 2>nul (stderr is not echoed)

command >nul 2>&1 (neither stdout nor stderr is echoed)

The latter is the one you want to make it completely silent.

share|improve this answer

Your Answer

 
discard

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.