os: How to redirect to a null device in windows
copy a.txt b.txt > nul
Where
nul
is the device or filename. Notice the single
l
in nu
l