Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

I want a batch file that automatically creates a errorlog.txt if the current date of a file is incorrect.

$
0
0

Hello, i really hope someone can help me with this question...

I have a serveral .txt files in a folder those .txt files are updated each day automatically true Task Schedular.

Now i wan to create a batch file that can check the current date of those files in that case i can see if a file is updated each day or not.

So if the current date is correct than noting will happen.

IF NOT

The batch will automatically make a errorlog.txt to a chosen path.

I really hope someone can help me out because my knowlegde of scripting is still basic.

Thanks!


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>