I *knew* this was coming!
But it would take me too much time to specify when and what would be redirected under which circumstances.
I assumed @avizee would get the picture that the error message could not be redirected that way ...
Code: Select all
if exist "%src_folder%\%%~nxf" echo xcopy "%src_folder%\%%~nxf" "%%f"