Equivalent to Unix /dev/null for Windows (need black hole for output)
Posted on 2004-04-10
In Unix scripts and C programs, you can redirect output or write to a special file called "/dev/null". This is useful if you need to write to a file, don't want the output, and don't want to actually create a temporary file and delete it later.
Below is the line of code I wish would work (it does not work):
DoCmd.OutputTo acOutputReport, RptName, acFormatSNP, "/dev/null", False
...where /dev/null is normally a valid file name.
What is the Windows equivalent to Unix's /dev/null?