G
Guest
Hello,
I'm using forfiles to copy the folder contents from one local drive
(C:\Arch) to another local drive (D:\Arch). The command usually runs
perfectly on a directory tree with up to 50,000 files, however the directory
tree currently contains just over 867,000 files. Both the source and the
destination are shared with full control to everyone.
Here is the command:
forfiles -pC:\Arch -s -m2* -d-60 -c"cmd /c if @ISDIR==TRUE xcopy /S /Y
0x22@PATH\@FILE0x22 0x22D:\Arch\@RELPATH\@FILE0x22 & if not %errorlevel%==0
goto ERROR-COPY-FILES"
This is my custom error message showing the value of errorlevel:
***** An error (-1073741819) occurred copying the files to the destination
location (D:\Arch)
Does anyone know what causes the -1073741819 error code from xcopy or
forfiles?
Thanks
I'm using forfiles to copy the folder contents from one local drive
(C:\Arch) to another local drive (D:\Arch). The command usually runs
perfectly on a directory tree with up to 50,000 files, however the directory
tree currently contains just over 867,000 files. Both the source and the
destination are shared with full control to everyone.
Here is the command:
forfiles -pC:\Arch -s -m2* -d-60 -c"cmd /c if @ISDIR==TRUE xcopy /S /Y
0x22@PATH\@FILE0x22 0x22D:\Arch\@RELPATH\@FILE0x22 & if not %errorlevel%==0
goto ERROR-COPY-FILES"
This is my custom error message showing the value of errorlevel:
***** An error (-1073741819) occurred copying the files to the destination
location (D:\Arch)
Does anyone know what causes the -1073741819 error code from xcopy or
forfiles?
Thanks