Hi everyone, first time poster here. I'm writing some code and have been using this forum to help, but I haven't been able to find a solution to my specific issue. I'm writing a code that basically ends up saving data on a text file, within Folder x, within Folder 1. Folder 1 is a set folder, however the Folder x and the text files both have variables in their names and have no sort of order or anything to them. So far I have been using sprintf to combine the set file path (that takes me to Folder 1) and then adding the strings to the back end of it to specify Folder x's name and the name of the .txt.
What I want to do is make an .exe that can run, scan all the text documents from Folder x within Folder 1, and once they find a specific value they will prompt the user to go check the file. That part isn't so important, I just need some guidance on how to scan all the different .txt's within a folder within a folder.