While renaming specific files or folders, many users have reported facing Error 0x800700CE, The filename or extension is too long. The error message also prevents the ...
Use robocopy instead. Just make sure to set /R: and /W: to a lower value than the default (which is, IIRC, 10000 each).