About 1,970,000 results
Open links in new tab
  1. What does > nul 2>&1 mean in a batch statement - Stack Overflow

    What does > nul 2>&1 mean in a batch statement Asked 10 years, 7 months ago Modified 3 years, 2 months ago Viewed 105k times

  2. What does "type nul > somefile" do to "somefile" in Windows?

    What does “type nul > somefile” do to “somefile” in Windows? First, somefile is opened for writing – this automatically causes the file to be truncated to 0 bytes. The data still remains on disk, …

  3. How do I remove a file named "NUL" on Windows? - Super User

    NUL is a system reserved word; see this Wikipedia article. A file named NUL should never exist on the filesystem; this may be caused by buggy software. You may be able to remove it using …

  4. Delete a file named "NUL" on Windows - Stack Overflow

    I ran a program on Windows 7 that was compiled under Cygwin and passed "NUL" as an output file name. Instead of suppressing output it actually created a file named "NUL" in the current …

  5. How can I silence ALL output from a command in a batch file?

    Sep 21, 2017 · The usual way to redirect both is >NUL 2>&1, and you should use this form when redirecting both to a file. However, for the NUL device, you could also use the marginally less …

  6. null - Removing "NUL" characters - Stack Overflow

    I have got characters like that in my notepad++ When i am trying to copy whole line, i am actually copying everything until "NUL": File:1 What i want to do, is replace those null, to be nothing, s...

  7. Remove "NUL" characters in txt file with windows cmd

    Jun 18, 2021 · I have a large text file with millions of lines where I need to remove "NUL" characters (showing that way in Notepad++, see pic). Search and replace \0 works in …

  8. Batch Timeout /nobreak constant response - Super User

    Jul 27, 2016 · How do I get my batch file to use timeout /nobreak without displaying in the program "waiting for one seconds, press CTRL+C to quit"?

  9. Understanding start, 2>nul, cmd, and other symbols in a batch file

    Oct 25, 2013 · the 1>nul and 2>nul make it so no output is displayed. the ^> in the start are so the > are passed to the start command, not interpreted. the cmd /c starts a new shell that …

  10. What is "2>" for in Windows console? (cmd.exe) - Super User

    Jun 17, 2024 · 2>nul doesn't work in DOS, and DOS doesn't run *.cmd either. DOS and Windows cmd are very different from each other, don't call it DOS when you run in Windows