/dev/null


  1. Posts : 552
    Windows 8 Pro x64
       #1

    /dev/null


    Does Windows have an equivalent of /dev/null?
      My Computer


  2. Posts : 2,416
    Windows 7 Ultimate x64
       #2

    Not sure if it fits completely the Linux real version, but redirecting output to "nul" results in no output at all, at least in batch files and command lines:

    Code:
    REM Printing "Hello World"
    ECHO Hello World
    
    REM Printing "Hello World" redirected to nul => does nothing at all!
    ECHO Hello World > NUL
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 03:34.
Find Us