Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid subscript reference
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01173721
Message ID:
01173961
Vues:
11
Naomi,

There is no way I will read the whole thread, but, for what I read, nobody proposed the use of the FileSystemObject, something like:
clear
lcPath			= 'C:\Windows'
loFSO			= Createobject('Scripting.FileSystemObject')
loFolder		= loFSO.getFolder(lcPath)
for each loFile in loFolder.Files
	if Like('*92*.log', loFile.Name) && Here you can even use Regular Expressions to have better control
		? loFile.Name
	endif
endfor
Appologies if it has been already suggested or discarded for any reason
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform