But found that any errors produced still went to the console or command line and I couldn't see which files it complained.. Finally found the syntax to redirect stderr to stdout and redirect all of stdout(with stderr) into a file.
Here it is
xcopy /D /I /E /C /F /H /R /K /O /Y f:\data l:\data > migrate.log 2>&1
No comments:
Post a Comment