中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-03 23:56
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » How to suppress error messages in a statement like this
Printable Version  638 / 1
Floor1 AppleWolf Posted 2007-04-02 17:10
初级用户 Posts 41 Credits 110
Mainly for the error message shown when the dir command can't find a file, how can it be suppressed?!
Floor2 NaturalJ0 Posted 2007-04-02 22:05
银牌会员 Posts 533 Credits 1,181
dir/b c:\###.###
dir/b c:\###.### 2>nul

Try this method
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023