>This can be done very quickly using the Windows Scripting Host. On machines that have WSH installed, this can be done in one fell swoop in VFP:
>
>FSO = CreateObject("Scripting.FileSystemObject")
>
>if FSO.FolderExists("d:\moo")
> FSO.DeleteFolder("d:\moo")
>endif
>
>Windows 98 has WSH built in. You can download it for other machines at: Microsoft Windows Scripting Host
For spectators with cheaper tickets (i.e. no WScript),
!deltree /y d:\moo