# Help to create a parameter to rename folders

**URL:** https://community.mp3tag.de/t/help-to-create-a-parameter-to-rename-folders/10805
**Category:** Support
**Created:** [September 12, 2010, 9:05pm UTC](https://community.mp3tag.de/t/help-to-create-a-parameter-to-rename-folders/10805 "2010-09-12T21:05:31Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [September 18, 2010, 2:41pm UTC](https://community.mp3tag.de/t/help-to-create-a-parameter-to-rename-folders/10805/4 "2010-09-18T14:41:24Z")

</div>

With \_DIRECTORY you can rename the current folder but not create a new one.

Use \_FILENAME to create a new folder.

Format Value  
Field: \_FILENAME  
Format string: %\_folderpath%$if($geql(%discnumber%,1),CD $num(%discnumber%,1),)%\_filename%

(It's important that your one disc albums have no discnumber tag)

---

_[View the full topic](https://community.mp3tag.de/t/help-to-create-a-parameter-to-rename-folders/10805)._
