-2

What does timeout /T > null mean in batch programming. I mean I can't seem to figure out what > null means here.

Sometimes it is also used for COPY [source file] [Destination file] > null

HBruijn
  • 77,029
  • 24
  • 135
  • 201
ITguy
  • 101
  • 1
  • 3
  • 1
    @Reaces Why the vote to migrate to `unix.stackexchange.com`? It is clearly a Windows question, so it would be even more off-topic there than it is here. – kasperd Oct 20 '15 at 15:22
  • 1
    I am sorry,but I am new to this Forum? But I don't understand how it is off Topic. And why this hostility towards newbies? – ITguy Oct 21 '15 at 13:06

1 Answers1

1

It redirects the output of the command before the > to the null device which is effectively a digital black hole that takes the input and just forgets it. The effect is that the program doesn't show any messages.

Sven
  • 98,649
  • 14
  • 180
  • 226