>I done this before but it has been years.
>
>I need to delete files and folders with Window Script (Wsh).
>Where can I found a VFP example of that?
See
Deleting Folder Using WSH Thread #
751414See also this reference
File Operations and references from it.
If it's not broken, fix it until it is.
My Blog