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.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team
Post Reply
User avatar
Tech Support
Posts: 4948
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