Hello everyone. These days I've tried to read file with yesterday datestamp and didn't find suitable solution.
These recources helped me to solve the task:
I had a script which searched for folders to remove. It wrote its result in output file with date stamp and send an email. The next day it was looking into file with result and removes folders. And so on each week. So here are these two batch scripts: