when spaces occur, the solution is often to "quote" the filename
Thank You rejetto. I knew that but as I did not understand the batch-file (update.bat), I did not know where to place the quotes.
Since yesterday I read a little about batch-files and now I know I have to put "%~dp0" in quotes.
But the main problem is still unsolved for me.
Mp3toion.exe needs its ini-file in the directory in which it is working in. As this directory changes all the time in the loop it doesn't have the ini-file in the subdirectories in which it is executing. Without the ini-file to read the parameters it executes with the defaults in the program and that are only %2 and %1.
I don't know whether and how to resove this in an batch-file.
Maybe it is necessary to change the program itself but I know even less about Delphi than about batch-files.
I like this solution with the detailed information from the ID-tag in the descript.ion very much, but without a working batch-solution for subdirectories would be far too much work to do. My MP3s are sorted:
First directoty (root): MP3s
First subdirectory: Initial letter of the artist
Second Subdirectory: Artist