Hi,
I'd like to create an advanced batch file that I will use to backup a folder. I'm using windows 7.
I'm using xcopy with this command
xcopy C:\Users\Xuser\Desktop\OC C:\Users\Xuser\Desktop\TEST \s \d
My question is- is it possible to copy locked files (ie MSword/excel docs while I'm working on them)?
Thanks
-
You cannot do this with the built-in copy or xcopy commands. Robocopy sometimes works for this in backup mode, but it cannot copy locked Outlook databases either. There's a number of third-party tools that can do what you want that make use of Windows' Volume Shadow Copy service. Just google "copy locked files" to find one you like.
-
Ok cheers. I'm going to try something called "Hobocopy"... Has anyone had experience with it?
-
Advanced batchfile for backup
Discussion in 'Windows OS and Software' started by mcfee, Jun 4, 2012.