Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173721
Message ID:
01173966
Views:
6
>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

AFAIK it's the slowest comparing with ADIR or other proposed solutions. Also, though the point is mute, could it be possibly disabled?
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