Error when Format Value field is _DIRECTORY and the format string is numerical

I was using MP3TAG to correct errors in the folder name of albums. It was working great until I hit a folder with a numeric name e.g. ./Adele/19/

When ten Format Value field is _DIRECTORY and the format string is numerical a loop starts with a Windows dialog box that pops up with

Unable to create the folder '19'
The system cannot find the path specified.

Clicking OK just loops back to the same.
I can move the box aside and click cancel in MP3TAG and stop the loop.
I have had the program recover and I have had it sit for hours.

I cannot reproduce that.
Could you show us a screendump of the function that you use with the actual parameters?

I've attached screen shots and the output from a Windows Steps Recorder in the .zip

Recording Session: ‎5/‎22/‎2022 12:48:23 PM - 12:48:59 PM

Recorded Steps: 18, Missed Steps: 0, Other Errors: 0

Operating System: 19041.1.amd64fre.vb_release.191206-1406 10.0.0.0.2.48

Step 1: User left click on "25 (text)" in "Mp3tag v3.14 - D:\Music\Adele"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: 25, Adele - 25 - 11 - Sweetest Devotion.mp3, SysListView32, #32770, Mp3tag v3.14 - D:\Music\Adele, Afx:00400000:b:00010003:00000006:6A0D01C7

Step 2: User keyboard input on "Mp3tag v3.14 - D:\Music\Adele\ (window)" in "Mp3tag v3.14 - D:\Music\Adele" [... Ctrl-A]
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: SysListView32, #32770, Mp3tag v3.14 - D:\Music\Adele, Afx:00400000:b:00010003:00000006:6A0D01C7

Step 3: User left click on "Actions (Quick) (button)" in "Mp3tag v3.14 - D:\Music\Adele"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: Actions (Quick), ToolbarWindow32, AfxControlBar140su, Mp3tag v3.14 - D:\Music\Adele, Afx:00400000:b:00010003:00000006:6A0D01C7

Step 4: User left click on "OK (button)" in "Select action type"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: OK, Button, Select action type, #32770, Mp3tag v3.14 - D:\Music\Adele, Afx:00400000:b:00010003:00000006:6A0D01C7

Step 5: User left click on "Open (button)" in "Format value"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: Open, Field:, ComboBox, Format value, #32770, Mp3tag v3.14 - D:\Music\Adele, Afx:00400000:b:00010003:00000006:6A0D01C7

Step 6: User left click on "_DIRECTORY (list item)"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: _DIRECTORY, Field:, ComboLBox, Field:, ComboBox, Format value, #32770, Mp3tag v3.14 - D:\Music\Adele, Afx:00400000:b:00010003:00000006:6A0D01C7

Step 7: User left click on "Open (button)" in "Format value"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: Open, Format string:, ComboBox, Format value, #32770, Mp3tag v3.14 - D:\Music\Adele, Afx:00400000:b:00010003:00000006:6A0D01C7

Step 8: User left click on "%album% (list item)"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: %album%, Format string:, ComboLBox, Format string:, ComboBox, Format value, #32770, Mp3tag v3.14 - D:\Music\Adele, Afx:00400000:b:00010003:00000006:6A0D01C7

Step 9: User left click on "OK (button)" in "Format value"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: OK, Button, Format value, #32770, Mp3tag v3.14 - D:\Music\Adele, Afx:00400000:b:00010003:00000006:6A0D01C7

Step 10: User left click on "OK (button)" in "Progress"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: OK, CCPushButton, Progress, TaskDialog, Progress, #32770, Discovered 0 items (0 bytes)..., OperationStatusWindow

Step 11: User left click on "OK (button)" in "Progress"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: OK, CCPushButton, Progress, TaskDialog, Progress, #32770, Discovered 0 items (0 bytes)..., OperationStatusWindow

Step 12: User mouse drag start on "Progress (dialog)" in "Progress"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: Progress, #32770, Discovered 0 items (0 bytes)..., OperationStatusWindow

Step 13: User mouse drag end on "Progress (dialog)" in "Progress"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: Progress, #32770, Discovered 0 items (0 bytes)..., OperationStatusWindow

Step 14: User left click on "Abort (button)" in "Writing tag data "
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: Abort, Button, Writing tag data , Afx:00400000:23:00010019:9D102258:00000000, Mp3tag v3.14 - D:\Music\Adele, Afx:00400000:b:00010003:00000006:6A0D01C7

Step 15: User left click on "Discovered 0 items (0 bytes)... - 2 running windows (button)"
Program: Windows Explorer, 10.0.19041.1620 (WinBuild.160101.0800), Microsoft Corporation, EXPLORER.EXE, EXPLORER.EXE
UI Elements: Discovered 0 items (0 bytes)... - 2 running windows, Running applications, MSTaskListWClass, Running applications, MSTaskSwWClass, ReBarWindow32, Taskbar, Shell_TrayWnd

Step 16: User left click on "OK (button)" in "Progress"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: OK, CCPushButton, Progress, TaskDialog, Progress, #32770, Discovered 0 items (0 bytes)..., OperationStatusWindow

Step 17: User left click on "Mp3tag v3.14 - D:\Music\Adele\ (window)" in "Mp3tag v3.14 - D:\Music\Adele"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: SysListView32, #32770, Mp3tag v3.14 - D:\Music\Adele, Afx:00400000:b:00010003:00000006:6A0D01C7

Step 18: User left click on "Adele (text)" in "Mp3tag v3.14 - D:\Music\Adele"
Program: Mp3tag - the universal Tag editor, 3.14.0.0, Florian Heidenreich, MP3TAG.EXE, MP3TAG.EXE
UI Elements: Adele, Adele - 25 - 10 - All I Ask.mp3, SysListView32, #32770, Mp3tag v3.14 - D:\Music\Adele, Afx:00400000:b:00010003:00000006:6A0D01C7

2022-05-22 10_43_42-Mp3tag v3.14  -  D__Music_#AB_
MP3TAG_Error.zip (1.5 MB)

I first had the problem with files in the path "D:\Music\Adele" I have 3 ablums "D:\Music\Adele\19" "D:\Music\Adele\21" "D:\Music\Adele\25". I then had the problem with "D:\Music\Buckcherry\15"

I've done this with hundreds of other folders, something like over 5000 tracks, with no problems as long as there are non-numerical characters in the %alubm% name. I have not encountered folders with all numerical characters, other than the 4 listed here with 2 character names.

Could you do the same thing step by step with Converter>Tag-Tag for _DIRECTORY and see what the preview shows?
Do not only use the 1-line preview in the dialogue but also the "Preview" button and see whether all files end up in the correct path.

(BTW: the zip file did not help and opened a file in the browser which allegedly should have shown dumps but there weren't any - so please use the upload function in this forum)

The Windows Steps Recorder outputs a .mht file. The screenshots aren't loading from the original, either.

I found something when I did the Tag-Tag instead of Format Value.
When I do the Adele folder with numeric only %album% it tries to move the files to the MP3TAG install directory, C:\Program Files (x86)\Mp3tag\D\Music\Adele\

I tried the same thing with AC\DC, and it went to the correct path D:\Music\AC-DC\

Adele_preview.txt (2.5 KB)
AC-DC_preview.txt (4.5 KB)
2022-05-22 13_16_13-Steps Recorder
2022-05-22 13_18_02-Mp3tag v3.14  -  D__Music_AC-DC_

This explains the message as the system won't let you write to the program folder.
How do you open the Adele folder and how did you do the same with AC/DC?

It reminds me of the behavior when you open the program and the folder you last worked in has been deleted. It defaults to C:\Program Files (x86)\Mp3tag.

Thanks for the Tag-Tag tip. That is much faster for what I am trying to do.

If you want to get a more generally working action, then use an absolute path instead of a relative one.

As far as I can tell, I'm not doing anything differently between the two folders.
I don't see anything weird like a leading or trailing spaces in the Adele %album% fields. Just the two numerical characters.

2022-05-22 14_39_49-Mp3tag v3.14  -  D__Music_Adele_
2022-05-22 14_38_21-Mp3tag v3.14  -  D__Music_AC-DC_

I tried what I think you meant by an absolute path and got no error
2022-05-22 14_45_04-Mp3tag v3.14  -  D__Music_Adele_

This all started because I tried Lidarr and it doesn't like a lot of my 30k+ MP3s so I am using Mp3Tag and MusicBrainz Picard to get as much of it as I can to be recognized by Lidarr.