I have a batch file with several xcopy commands that I have been using for years. All of a sudden the xcopy commands have stopped working giving me an Access Denied message for every file that xcopy tries to copy to the local computer. An example of an xcopy command:
C:\Windows\System32\xcopy.exe "\\Motion\Users\Nelson\Documents\My ElephantDrive\Everywhere\Patent Records" "C:\Users\User\Documents\My ElephantDrive\Everywhere\Patent Records" /D /S /Y /C /EXCLUDE:C:\xcopyexclude.lst
I have turned off my virus protection (Bitdefender) and checked the permissions for the folders (there has been no change and I added full control for everyone just to be sure). I can copy the files xcopy is trying to copy with Windows Explorer with no trouble. The batch file is in my desktop. Any ideas what may be causing this behavior?