No, I got it! Ok, so the final thing I want to do is email the results. How would I write the array elements into the objMessage.TextBody section? I want it to automatically populate everything I have into the array into the end of the objMessage section.
For the objMessage.TextBody = "Results...
AWESOME! So, that did it! A combination of the two...changing it to "strLine" and adding a > 0 to the end.
So, strLine helps to process my For...Loop and move through the variable.
What exactly does the "> 0" do?
Also, do I need to add anything to handle folders where I would be access...
Working through a script that will search a file share for files whose names contain strings specified within an array. Also, if it encountered a directory where access is denied, it will skip the directory and continue to the next one.
Files found are then written to a log file. Below is what...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.