c# - Why doesn't DirectoryInfo have a Copy() method? -
directoryinfo has moveto
method, no copy
method.
if pressed omit 1 or other (perhaps going around saying 'too many methods!'), have moveto
. users of class still able achieve same effect calling copy
, delete(true)
(true here indicating delete contents recursively).
by comparison, it's more involved implement copy
procedure existing methods.
can explain this?
see "access denied" when using copyfile function, however, "movefile" working fine on same directories
the winapi not have native call copy directories. need transverse directory , copy structure manually. there multiple ways depending upon time complexity characteristics want.
Comments
Post a Comment