Supress Responses From Commands In Batch Files
This quick recipe describes how to supress responses to commands within batch files.
During the execution of your batch files, users can see your commands on the screen. Most of the time this is good for debugging purposes; however, often it’s better to run your batch file silently.
Any command that is followed by “> nul” will not be shown on the screen. The greater sign directs the output to null (nowhere).
For example, copy *.* *.bak will show you as it copies all the files in the directory and renames them with the bak extension.
copy *.* *.bak > nul will silently complete its work without placing anything on the screen.









Ghanny said on June 29, 2009
For standard output also try “@echo off” at the start of the batch file. This will suppress echoing all the input commands.
X said on July 9, 2009
window.alert(‘Nothing Special’)
vicky said on April 29, 2011
Thank you very much.
This small tip has helped me a lot