When I move many files, sometimes the message "a duplicate file name exists, or the file
cannot be found" appears, even though I have added >nul. Is there a way of preventing that message from showing up, except making sure that there are no duplicate files and that files can be found?
How do I suppress the "a duplicate file name exists, or the file cannot be found" message?
Moderator: DosItHelp
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: How do I suppress the "a duplicate file name exists, or the file cannot be found" message?
Error messages are on their own stream and need to be suppressed with
Code: Select all
2>nul