I'm using robocopy to do a backup of files and folders to another directory, it does most of it OK, but there are files which are in constant use which will not copy. Can anyone suggest anything?
@echo off
setlocal
SET _source=C:\nicecti
SET _dest=D:\backup
SET _what=/COPYALL /B /MIR
SET _options=/R:0 /W:0 /LOG:mylogfile.txt /NFL /NDL
ROBOCOPY %_source% %_dest% %_what% %_options%
ROBOCOPY c:\ D:\backup uniqueca.txt
@echo off
setlocal
SET _source=C:\nicecti
SET _dest=D:\backup
SET _what=/COPYALL /B /MIR
SET _options=/R:0 /W:0 /LOG:mylogfile.txt /NFL /NDL
ROBOCOPY %_source% %_dest% %_what% %_options%
ROBOCOPY c:\ D:\backup uniqueca.txt