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
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
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.