Page 1 of 1

Batch file to close all running iMacros processes

Posted: Wed Dec 17, 2008 11:06 pm
by Tech Support
If you are testing applications that span many iMacros instances, it can be useful to have a batch file that closes all of them at once (even if the browser is frozen). The following batch file does this and logs the activity to a text file:

Code: Select all

date /T >> c:\imacrosfolder\logprocess.txt
time /T >> c:\imacrosfolder\logprocess.txt
taskkill /F /IM iexplore.exe >> c:\imacrosfolder\logprocess.txt
taskkill /F /IM firefox.exe >> c:\imacrosfolder\logprocess.txt
taskkill /F /IM imacros.exe >> c:\imacrosfolder\logprocess.txt
taskkill /F /IM imgr.exe >> c:\imacrosfolder\logprocess.txt