I describe the task, I think the type written in the topic would be the right one, but I see that there is none.
Given a date and a text to search for (as input). You should look through the .txt files in the directory with the specified date to see if any of them contain the text you are looking for. If not, go to the next day’s folder and look for it there. If not, continue again, approx. for a week.
How could this be solved? If there was a date type, it would be easy, a variable of this type from the input, enters, searches, if there is no, the variable increases by 1, enters, etc.
Unfortunately, it’s a large company environment, I can’t write a program for it because they don’t let me use it, batch would be the way to go. Now, in some cases, you have to enter up to 20 directories, open and search for 7 files per folder. It takes a lot of time. Of course, total commander cannot be used either, and the server is set so that it does not search in file contents.
–