Batch file to close all running iMacros processes

Share your tips, tricks and favorite iMacros macros, scripts and applications for web automation in general here.
Post Reply
User avatar
Tech Support
Posts: 5003
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Batch file to close all running iMacros processes

Post by Tech Support » Wed Dec 17, 2008 11:06 pm

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
Post Reply