# \[F\] Undo Convert | Tag - Filename fails to undo folder creation

**URL:** https://community.mp3tag.de/t/f-undo-convert-tag-filename-fails-to-undo-folder-creation/5738
**Category:** Fixed Bugs
**Tags:** bug-fixed
**Created:** [November 15, 2007, 9:20am UTC](https://community.mp3tag.de/t/f-undo-convert-tag-filename-fails-to-undo-folder-creation/5738 "2007-11-15T09:20:25Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [November 15, 2007, 9:20am UTC](https://community.mp3tag.de/t/f-undo-convert-tag-filename-fails-to-undo-folder-creation/5738/1 "2007-11-15T09:20:25Z")

</div>

Undo Convert | Tag - Filename fails to undo folder creation, i.e. the Undo doesn't remove the folders (if any) that were created by the Convert.

Also, I suggest Convert | Tag - Filename should (optionally and by default) delete any folders it empties. Currently if it changes e.g. oldfol\file.mp3 to newfol\file.mp3 and oldfol contained no other files, it leaves oldfol .

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [November 17, 2007, 6:56pm UTC](https://community.mp3tag.de/t/f-undo-convert-tag-filename-fails-to-undo-folder-creation/5738/2 "2007-11-17T18:56:27Z")

</div>

Empty directories are now removed at undo Convert \> Tag - Filename with the current [Development Build](http://developer.mp3tag.de).

---

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [November 17, 2007, 11:41pm UTC](https://community.mp3tag.de/t/f-undo-convert-tag-filename-fails-to-undo-folder-creation/5738/3 "2007-11-17T23:41:30Z")

</div>

Not here (V2.39f), Florian. I.e.

Format string: ..\newer4\file  
Preview: "D:\newer3\file.wma" -\> "D:\newer4\file.wma"

leaves newer4... and newer3!

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [November 18, 2007, 7:42pm UTC](https://community.mp3tag.de/t/f-undo-convert-tag-filename-fails-to-undo-folder-creation/5738/4 "2007-11-18T19:42:21Z")

</div>

When I'm applying the converter Tag - Filename on the file

E:\Mp3tag\Test\test.mp3

using the format string

..\New\test

a new directory

E:\Mp3tag\New\

gets created and the file test.mp3 is moved there. When I choose ![:mt_undo:](https://community.mp3tag.de/uploads/default/original/1X/dc35961ac45530697d2db342d267f1974f19f2eb.png ":mt\_undo:") Undo, the directory

E:\Mp3tag\New\

gets removed again. Sorry, but it seems to be working fine here.

---

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [November 20, 2007, 8:25pm UTC](https://community.mp3tag.de/t/f-undo-convert-tag-filename-fails-to-undo-folder-creation/5738/5 "2007-11-20T20:25:10Z")

</div>

(Oops, I overlooked your word undo and thought the fix was for the other issue. Serves me right for conjoining reports. Sorry to waste your time Florian. )

Confirmed in V2.39f. Thanks

---

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [November 21, 2007, 5:36pm UTC](https://community.mp3tag.de/t/f-undo-convert-tag-filename-fails-to-undo-folder-creation/5738/6 "2007-11-21T17:36:48Z")

</div>

> Confirmed in V2.39f.

... on single files. But on multiple files going to the same directory, undo gives the error

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
. Directory c:\mp3t\ cannot be deleted.  
.  
. » Please check the drive and make sure that no other  
. processes are using the directory.  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

even though the operation succeeds.

Oddly, this happens even when only one of the selected files actually got renamed e.g. if the others failed due to "file exists." Suggesting there may also be a flaw in the undo buffer insert.

PS Perhaps that "»" is a typo in the Mp3tag dialog.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 28, 2018, 1:57pm UTC](https://community.mp3tag.de/t/f-undo-convert-tag-filename-fails-to-undo-folder-creation/5738/7 "2018-12-28T13:57:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
