I have a specific program in Windows 7 that executes a certain process via a task scheduler, whose output is a simple web page that opens every 30 minutes. In this way I have just opened many windows of Internet Explorer which produce the saturation of the computer.
My intention is for these windows to close after 25 hours (each window individually), therefore the cmd /c taskkill /im /f iexplore.exe
command does not work for me.
Note: I tried to solve it with the PID but when looking at the processes, I only had 2 iexplorer.exe processes running despite having several windows already open.