# Delete Files in workflow

**URL:** <https://community.automationedge.com/t/delete-files-in-workflow/2669>\
**Category:** Get Help & Discuss\
**Created:** [October 29, 2020, 10:32am UTC](https://community.automationedge.com/t/delete-files-in-workflow/2669 "2020-10-29T10:32:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zack](https://avatars.discourse-cdn.com/v4/letter/z/f6c823/32.png) [@zack](https://community.automationedge.com/u/zack)\
**Post date:** [October 29, 2020, 10:32am UTC](https://community.automationedge.com/t/delete-files-in-workflow/2669/1 "2020-10-29T10:32:31Z")

</div>

How to delete multiple files from a folder in workflow using process files

---

<div class="post-metadata">

**Author:** ![fbaldin](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/fbaldin/32/99_2.png) [@fbaldin](https://community.automationedge.com/u/fbaldin)\
**Post date:** [October 29, 2020, 6:15pm UTC](https://community.automationedge.com/t/delete-files-in-workflow/2669/2 "2020-10-29T18:15:51Z")

</div>

@zack use a Get Files prior to the Process Files and you’ll have the files in a variable to delete each one.

Or use a Powershell Script to do so.

---

<div class="post-metadata">

**Author:** ![prabinkumarag](https://avatars.discourse-cdn.com/v4/letter/p/9de053/32.png) [@prabinkumarag](https://community.automationedge.com/u/prabinkumarag)\
**Post date:** [November 1, 2020, 12:03pm UTC](https://community.automationedge.com/t/delete-files-in-workflow/2669/3 "2020-11-01T12:03:29Z")

</div>

below example will delete only “.txt” files

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/automationedge/original/1X/c4e511403a12189bc86f0bb9fb7d01d078b83817.png)
