[ACCEPTED]-What is the DOS equivalent of 1>/dev/null?-dev-null
Accepted answer
It should be >NUL
on both DOS and Windows console.
0
You can use like this
command >nul: 2>nul:
0
Here's an example of using > NUL
copy mfc42d.dll $windir\system32 > nul
regsvr32 $windir\system32\mfc42d.dll /s > nul
0
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.