I have a batch file that runs to backup a bunch of work files on another computer. I use a "net use" command to map a drive during the copy process. This batch file worked great until I switched over to a NAS drive. The permissions are very loose in that I can read/write without authentication, but when running the XCOPY sequence, I get access denied on the files in the root directory and when it gets to the first directory, it says "Unable to create directory XXXX".
If I copy those same files/folders through explorer, it works fine.
The xcopy command looks like this:
xcopy from_folder Q:\ /D /E /H /R /K /Y
If I copy those same files/folders through explorer, it works fine.
The xcopy command looks like this:
xcopy from_folder Q:\ /D /E /H /R /K /Y