>Is there a command to copy an entire folder to another location?
>I can do a MKDIR and then copy the source folder *.* to the new place but was wondering if there is a better way?
>
>Thank you,
>Rich Murillo
You can use WSH
lcSourceFolder = 'C:\MySourceFolder'
lcTargetFolder = 'C:\MyTargetFolder'
llOverride = .T.
loFSO = Createobject('Scripting.FileSystemObject')
loFSO.CopyFolder(lcSourceFolder, lcTargetFolder, llOverride)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges