The previous code you sent looked like it would remedy those deficiencies, but it didn't work. I'd like to find out why it wouldn't do what it should have done.
Which previous code? The VBScript worked fine when it was tested. . Did you run the VBScript? Can you document any specific problems?
The previous code I referred to was the last batch code you sent. I ran the VBScript code you sent, and didn't get any results.
I can't document any specific problems, since the code ran silently, showing nothing on the screen, All I know is that no file called "Foundit.txt" was created, even though I had specifically created a TXT file in the Root directory containing the string I was searching for.
I'm not familiar with scripts, so I can't manipulate the code you sent in order to make the results appear on the screen; nor can I, for instance, eliminate sub-directories.
It looks like I'm going to have to learn scripting, though, since your code, even though it didn't produce results, ran a lot faster than if it were a batch file.
I do appreciate your efforts, and am sure that the failure to produce results lies with me, not you.
Tom