Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
January 8, 2000
A. If you want to suppress a program’s output, you can use the NULL device (as you would use UNIX's /dev/null command). To make a program output to the NULL device instead of the screen, enter the following command.
program.exe > nul
You can also use the nul command if you want to blank a file, as the following example shows.
copy nul file.name
You May Also Like