/dev/null is to unix as nul is to msdos. just in case for some reason you need to port some happy unix code to msdos and needed to know. I came across this while looking for a way to get rid of the default message when calling pause from msdos.
system("pause > nul"
;//MSDOS
system("pause > nul"