Hi guys, I use the below mentioned code : taskkill /F /IM iexplore.exe in a .cmd file to close all the open IE tabs. It works fine in my local machine. But I am unable to execute the .cmd file in Virtual machine even though it is given administrative privileges.
Error message: ‘taskkill’ is not recognized as an internal or external command, operable program or batch file.
You need to indicate the fullpath of the taskkill exe
For example, c:\windows\system32\taskkill.exe /F /IM iexplore.exe
Additionally, if you want, I bet you could execute that from the Start Process activity instead of creating a .cmd script.
If you chose to do that, it would look like…