I have a set of folders that looks like this:
Folder1
Folder2
Folder3
I need to search each folder & verify that there's NOT a subfolder called temp in it it. If there's a temp folder in there, that means there was an error.
If a temp folder is found, I'd like to have a .txt file created that lists each main folder that has a temp folder. Example of the failed.txt file:
Folder2 failed
Thanks in advance for the help!