Skip to main content
Mandar12
Navigator | Tier 3
June 24, 2025
Solved

Unable to close browser using Open program/file

  • June 24, 2025
  • 3 replies
  • 163 views

hi team, 
im trying to kill Excel and chrome using Open program/file action. Below i have mentioned screenshot of same
 

 

Best answer by Tamil Arasu10

Hi ​@Mandar12,,

Please find the below steps,

 

In the "Program/File Path" field, enter:
cmd.exe

In the "Parameters" field, enter:
/c taskkill /F /IM excel.exe 
/c tells CMD to execute the command and then close.
taskkill /F /IM excel.exe forcefully closes Excel.

3 replies

Tamil Arasu10
Most Valuable Pathfinder
Most Valuable Pathfinder
June 24, 2025

Hi ​@Mandar12,,

Please find the below steps,

 

In the "Program/File Path" field, enter:
cmd.exe

In the "Parameters" field, enter:
/c taskkill /F /IM excel.exe 
/c tells CMD to execute the command and then close.
taskkill /F /IM excel.exe forcefully closes Excel.

_Tamil_
Pathfinder Advocate | Tier 6
July 1, 2025

Hello ​@Mandar12 
You wrote parameters in wrong place as in start in path

If you write location as Taskkill
and parameters as /f /im excel.exe it will close the excel file with force.

MAIYA_0
Navigator | Tier 3
Navigator | Tier 3
July 1, 2025

Hello, Please do find attached screenshot for reference.

Task kill Activity - Excel

 

NITHISH MAIYA V ********* LinkedIn URL: https://www.linkedin.com/in/nithish-maiya-v