# Renaming a folder

**URL:** <https://forum.inductiveautomation.com/t/renaming-a-folder/34023>\
**Category:** Ignition\
**Created:** [April 18, 2020, 2:44am UTC](https://forum.inductiveautomation.com/t/renaming-a-folder/34023 "2020-04-18T02:44:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteveE](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/stevee/32/14460_2.png) [@SteveE](https://forum.inductiveautomation.com/u/SteveE)\
**Post date:** [April 18, 2020, 2:44am UTC](https://forum.inductiveautomation.com/t/renaming-a-folder/34023/1 "2020-04-18T02:44:55Z")

</div>

I'm using the code snippet from [system.tag.move - Ignition User Manual 8.0 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC80/system.tag.move)

> This function will move a folder in a tag provider to a new folder
> 
> Since both paths are at the same node, the "Old\_Folder" will be placed at the root of the provider, and the name changed, effectively renaming the folder.  
> tags = ['[default]Old\_Folder']  
> destination = '[default]New\_Folder/'
> 
> Move the folder  
> system.tag.move(tags, destination)

The end result isn't as expected

Before:  
Tags \> Old\_Folder

After:  
Tags \> New\_Folder \> Old\_Folder

Expected  
Tags \> New\_Folder

Ignition 8.11

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 18, 2020, 3:34pm UTC](https://forum.inductiveautomation.com/t/renaming-a-folder/34023/2 "2020-04-18T15:34:03Z")

</div>

Try it without the trailing slash on your destination.

---

<div class="post-metadata">

**Author:** ![SteveE](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/stevee/32/14460_2.png) [@SteveE](https://forum.inductiveautomation.com/u/SteveE)\
**Post date:** [April 18, 2020, 8:40pm UTC](https://forum.inductiveautomation.com/t/renaming-a-folder/34023/3 "2020-04-18T20:40:23Z")

</div>

Yeah, I’ve tried all the combinations of tags and destination with and without the trailing slash - Same result - it’s either hidden knowledge or broken
