Skip to main content
Solved

Unable to close browser using Open program/file

  • June 24, 2025
  • 3 replies
  • 66 views

Mandar12
Forum|alt.badge.img+3

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
Forum|alt.badge.img+18
  • Most Valuable Pathfinder
  • Answer
  • 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.


Forum|alt.badge.img+12
  • 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
Forum|alt.badge.img+5
  • Navigator | Tier 3
  • July 1, 2025

Hello, Please do find attached screenshot for reference.

Task kill Activity - Excel