There is no deleting, moving, changing of either the target folder/files to run against, nor of the file that contains the strings to search for. The purpose is to let this run against various log files in a folder and It might take awhile, but it works every time. I use for each file has been executed with a few hundred string text lines I want it to search against to well over one thousand. Just for testing, I placed 4 lines of sample text and one single matching text in various target files and nothing comes back. I also have a txt file that contains the list of string text entries I would like it to search for. So I am going back to the drawing board and starting from the beginning. At one point, I was able to have it create the output file and appear as if it worked, but it never showed any results when the script However, I cannot seem to get it to work properly if I want it to search ALL the files in the folder. It does a Wscript.echo on the results and if I run this via command using cscript, I can output to a text file I have a vbscript that can successfully perform the function if one file is listed. I have been searching high and low for this one.
0 Comments
Leave a Reply. |