Hi,there
I'm trying to writing code to copy a specified directory (include all files) to another place.Could some give me some suggestions? Thanks for any hint.
' Add reference to MS Scripting Runtime
Dim objFSO As FileSystemObject
Set objFSO = New FileSystemObject
objFso.CopyFolder source, destination, True ' Overwrite=True
' Move to destination and erase from source
'objFso.MoveFolder source, destination, True ' Overwrite=True
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.