dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
5
share rss forum feed

SipSizzurp
Fo' Shizzle
Premium
join:2005-12-28
Houston, TX
kudos:4
reply to koam

Re: [WIN7] Copy complete directory tree

said by koam:

but it's hanging because it says that the ntuser.dat file is in use by another process.

Dave was correct, you need to skip files that are locked. Here is from the help file ;

/R:n :: number of Retries on failed copies: default 1 mill
/W:n :: Wait time between retries: default is 30 seconds.


This is some of what my batch files typically have to include sub directories. This will also re-try locked files after one second and only once before moving on.

/S /W:1 /R:1