I have a very old car radio that can play music from USB fash drives when they are formatted in FAT16 or FAT32, but it sorts files by the short 8.3 file name, not by the long file name.
I want to play audiobooks that are divided into multiple files, but Windows sometimes generates f***ed up 8.3 file names.
Here's an example of the output of dir /x
of a folder that contains Internet1.mp3 to Internet7.mp3:
Short Long
30.12.2020 15:59 2.186.859 INTERN~1.MP3 Internet1.mp3
30.12.2020 15:59 2.507.643 INTERN~2.MP3 Internet2.mp3
30.12.2020 15:59 2.423.319 INTERN~3.MP3 Internet3.mp3
30.12.2020 15:59 2.110.163 INTERN~4.MP3 Internet4.mp3
30.12.2020 15:59 2.007.345 IN1FAB~1.MP3 Internet5.mp3
30.12.2020 15:59 2.921.422 IN64EF~1.MP3 Internet6.mp3
30.12.2020 15:59 3.290.689 INB914~1.MP3 Internet7.mp3
As you can see, the files Internet5.mp3 to Internet7.mp3 will be played before Internet1.mp3 to Internet4.mp3 since they have the random short file names. Some of my audiobooks are divided into more than 100 parts, so i'd like to have a script (Batch, Powershell, Python, whatever) that automatically sets the short file name to something usable, I.e. INT1.MP3 to INT7.MP3 There is no problem regarding which folder to play. The long file names contain an ascending numer (here 1 to 7) that gives away the correct order of the files.