Hi All

I am running the following:

robocopy.exe "I:\shared" "x:\archived\shared" *.* /E /COPY:DATSOU /MOVE /ZB /MINLAD:400 /R:2 /W:10 /log:X:\robolog.txt

It copies the files to the destination but doesn’t remove them from the source, am I doing something or misunderstanding what it should be doing?

No errors in the logs either.

4 Spice ups

make shure you have writing permissions on the source files

1 Spice up

Yep I did a test run with copy instead of move and that completed successfully

If no log was produced, look at your code again.

1 Spice up

Also you have some switch conflicts. Why are you using both /copy and /move?

4 Spice ups

that could be the problem. It ignores the move because it only copies the files. Didn’t see that

1 Spice up

Read through the switch definitions again, Little Green Man nailed it.

Definitely your switches. Isn’t Robocopy fun???