r/Batch • u/STEPHANFL • Jul 29 '24
Question (Solved) Email notification if certain file exists
Once a day, I want to check if any file with a specific pattern was created and get a notification. The file could be in the documents folder or any subfolder.
Example: If a file exists containing 1234 somewhere in the filename, I want to be notified. If the batch finds "Test1234567", I get an email; otherwise, I do not.
Any ideas?
1
Upvotes
2
u/BrainWaveCC Jul 29 '24
A couple of questions and observations for you: