Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting text files based on content
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01526759
Message ID:
01526760
Views:
57
>How do I delete all text files in c:\texter which have the word KANG in the file contents
>
>Thanks
>
>Colin

How big are the files? Are they .txt files? Do you want to do this using VFP code?

If so, loop with adir, filetostr, check the string and then delete.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform