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
@echo off
mode con:cols=40 lines=2
echo somestring|clip
echo Wireless Password copied to clipboard.
timeout 2 > NULL

How do I make timeout not print any text?

share|improve this question
It is recommended not to publish both your wireless password and your coordinates... – grawity Apr 30 '12 at 20:13
up vote 4 down vote accepted

You may need to redirect both stdout and stderr:

timeout 2  >NUL  2>NUL

Note that the special device is NUL or NUL:, with a single L.

share|improve this answer
you can also redirect stderr to stdout: timeout > nul 2>&1 – jftuga Apr 30 '12 at 20:05

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.