Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to search a string in all the documents
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00871062
Message ID:
00871081
Vues:
17
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform