# Rename of Folder on Windows using Playbook

**URL:** <https://forum.ansible.com/t/rename-of-folder-on-windows-using-playbook/32095>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [January 30, 2020, 4:22am UTC](https://forum.ansible.com/t/rename-of-folder-on-windows-using-playbook/32095 "2020-01-30T04:22:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sai\_Prasha](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@Sai\_Prasha](https://forum.ansible.com/u/Sai_Prasha)\
**Post date:** [January 30, 2020, 4:22am UTC](https://forum.ansible.com/t/rename-of-folder-on-windows-using-playbook/32095/1 "2020-01-30T04:22:23Z")

</div>

I want to rename the folder using ansible playbook , But i could not find any module . I found a solution in stackover flow but it did’t work. Any solutions are workaround please

- **name** : rename the file  
**win\_command** : “cmd.exe /c rename {{C:\Program Files\apache-tomee-plus-8.0.0}}\{{apache-tomee-plus-8.0.0}} {{TomEE}}”
