Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to process all files in a directory?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00012930
Message ID:
00013072
Vues:
35
>Hi all,
>
>I have a program which is entirely non-GUI. It is
>kicked off nightly by a "cron". I wish to have it
>process a number of text files in a nominated
>directory using the low-level file functions.
>
>What I can't seem to find is a command that lets
>me "read in" all the file names matching a pattern
>in this directory. The closest things I've found
>are: DIR DISPLAY FILES GETFILE()
>but none of those do what I want.
>
>Can anyone point me towards a solution?
>
>TIA
>
>Steve

ADIR()
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform