>I need to delete directories and all sub-directories.
>
>On the Old DOS we had a commande "DelTree" that do just that.
>
>Any one know a quick we to do just that in VFP?
How about the Scripting.FileSystemObject?
oFSO = CREATEOBJECT('Scripting.FileSystemObject')
lcdir = GETDIR()
oFolder = oFSO.GetFolder(lcdir)
oFolder.Delete(.T.)
George
Ubi caritas et amor, deus ibi est