>>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)
>> ? 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?
Yes, there were discussions about this a while ago - it is possible that an administrator or user decides to disable WSH for security reasons.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)