Delete the files contained in a directory

Dear friends

Very grateful for your attention, to resolve the following:

I need your help, to delete all the files contained in the C: \ datostxt directory
from XOJO
What would the code lines be like?


Raul Juarez Pulache

Have you read this page:

Infinite Thank you

I have complemented it with the information of the following link, to obtain the solution

Raul Juarez Pulache

Xojo is kind of slow for this kind of job.

If you have many files, you may want to shell to

Del C: \\ datostxt\\*.*

By the way, if your question is about Windows, you should post in the Target Windows channel instead of General.