last modified vs. terminate process
Posted: 08 May 2015 18:24
I need a batch file that runs on windows 7 and that does the following:
need it to check the last modified date and time of MyLog.txt. If it is more than X number of minutes, Kills the MyLog.exe process if it is listed under the processes Image name, and calls myclean.bat.
need it to check the last modified date and time of MyLog.txt. If it is more than X number of minutes, Kills the MyLog.exe process if it is listed under the processes Image name, and calls myclean.bat.