Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to search a string in all the documents
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00871062
Message ID:
00871081
Views:
15
>Is there a way it allows me to search using visual foxpro to search for a specific string in all the documents in a folder.
>
>c:\foldername
>
>Just like microsoft windows OS searches for a string.
>
>Please give me an advice how to do it.
>
>Thank you very much.

There might be a way to use the MS "Search" application. One way to do it in foxpro might be to implement ADIR() to get a list of files and then do a SUBSTR search on the FILETOSTR:

? cMyString$FILETOSTR(ADIR(!)). Maybe Tasker or Sergey will hit this thread and give you some better advice;-)
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform