# Execute cmd commands from Uipath

**URL:** <https://forum.uipath.com/t/execute-cmd-commands-from-uipath/9561>\
**Category:** Help\
**Tags:** system, activities\
**Created:** [August 10, 2017, 5:48pm UTC](https://forum.uipath.com/t/execute-cmd-commands-from-uipath/9561 "2017-08-10T17:48:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucky0906](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lucky0906/32/263186_2.png) [@Lucky0906](https://forum.uipath.com/u/Lucky0906)\
**Post date:** [August 10, 2017, 5:48pm UTC](https://forum.uipath.com/t/execute-cmd-commands-from-uipath/9561/1 "2017-08-10T17:48:52Z")

</div>

I need to kill a task fron UiPath but I know how I con do that

the best way will be without open the cmd console but if Someone knows how can I do that I don mind if the console is opened or not.

---

<div class="post-metadata">

**Author:** ![Dominic](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/dominic/32/461400_2.png) [@Dominic](https://forum.uipath.com/u/Dominic)\
**Post date:** [August 10, 2017, 5:56pm UTC](https://forum.uipath.com/t/execute-cmd-commands-from-uipath/9561/2 "2017-08-10T17:56:08Z")

</div>

Hi @Lucky0906, there is an activity called “kill process” where you can mention the process name to kill it. Example if you wanna close all browsed page from internet explorer just give “iexplore” in process name

Regards,  
Dominic

---

<div class="post-metadata">

**Author:** ![Lucky0906](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lucky0906/32/263186_2.png) [@Lucky0906](https://forum.uipath.com/u/Lucky0906)\
**Post date:** [August 10, 2017, 5:57pm UTC](https://forum.uipath.com/t/execute-cmd-commands-from-uipath/9561/3 "2017-08-10T17:57:08Z")

</div>

Hi!!  
I tried that but the process is not killed ,

---

<div class="post-metadata">

**Author:** ![Dominic](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/dominic/32/461400_2.png) [@Dominic](https://forum.uipath.com/u/Dominic)\
**Post date:** [August 10, 2017, 5:59pm UTC](https://forum.uipath.com/t/execute-cmd-commands-from-uipath/9561/4 "2017-08-10T17:59:03Z")

</div>

Hi @Lucky0906 can you share ur workflow / screenshot of your xaml if it’s not confidential?

---

<div class="post-metadata">

**Author:** ![Lucky0906](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lucky0906/32/263186_2.png) [@Lucky0906](https://forum.uipath.com/u/Lucky0906)\
**Post date:** [August 10, 2017, 6:22pm UTC](https://forum.uipath.com/t/execute-cmd-commands-from-uipath/9561/5 "2017-08-10T18:22:52Z")

</div>

Hello, I am wrong  
I write the process name as “javaw.exe” and I saw thet It must be only “javaw”

THanks

---

<div class="post-metadata">

**Author:** ![Dominic](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/dominic/32/461400_2.png) [@Dominic](https://forum.uipath.com/u/Dominic)\
**Post date:** [August 11, 2017, 3:02am UTC](https://forum.uipath.com/t/execute-cmd-commands-from-uipath/9561/6 "2017-08-11T03:02:41Z")

</div>

Ha fine @Lucky0906 , I should have reminded you ! Anyways wishes to you 🙂
