Tricky thing
this works as expected under windows
ping localhost > nul
and redirects the output into nirvana.
But i am writing a batch script on a Windows CE 6.0 Device and the same call creates a file "nul". Is it possible to dismiss the console output in CE?
Update
This is the output after running dir * > nul
twice in an empty directory
Directory of \flashdisk\test
06/13/13 15:35 0 nul
Found 1 file(s). Total size 0 bytes.
1 Dir(s) 150664192 bytes free
This solution both works on Windows (7) and Windows CE
Just pipe the output to REM
ping localhost | REM