- Jul
- 532
- 10
I know❟ I know.... Don’t have semicolons in filenames.
But when one is dealing with prenamed files (100❟000+ in a music collection)❟ or files renamed by programs that gather information .... These characters will end up in filenames because people type them up in track titles❟ which are usually the filenames for music.
So I hit a wall with an obscure William S. Burroughs spoken word track that has a semicolon in its title.....
I tried many things❟ including things I just learned here this week. And yet.... No amount of trickery can fix this.
Any clue?
But when one is dealing with prenamed files (100❟000+ in a music collection)❟ or files renamed by programs that gather information .... These characters will end up in filenames because people type them up in track titles❟ which are usually the filenames for music.
So I hit a wall with an obscure William S. Burroughs spoken word track that has a semicolon in its title.....
I tried many things❟ including things I just learned here this week. And yet.... No amount of trickery can fix this.
Any clue?
Code:
>set foo=11_Salt Chunk Mary; Like Mr Hart, Kim Has A Dark Side To His Character.flac
>dir /b "%foo%"
11_Salt Chunk Mary; Like Mr Hart, Kim Has A Dark Side To His Character.flac
>if exist "%foo%" echo it exists
it exists
>echo %@UNQUOTE["%foo%"] .... unquote works on it fine if in quotes
11_Salt Chunk Mary; Like Mr Hart, Kim Has A Dark Side To His Character.flac .... unquote works on it fine if in quotes
>echo %@UNQUOTE[%foo%] .... unquote even works on it fine if NOT in quotes❟ tho inadviseable because of filenames with right brackets in them
11_Salt Chunk Mary; Like Mr Hart, Kim Has A Dark Side To His Character.flac .... unquote even works on it fine if NOT in quotes❟ tho inadviseable because of filenames with right brackets in them
>echo %@TRUENAME[%foo%] .... but truename doesn’t work
T:\mp3\William S. Burroughs\1981 - You're The Guy I Want To Share My Money With [WSB tracks only]\11_Salt Chunk Mary .... but truename doesn’t work
>echo %@TRUENAME["%foo%"] .... not even in quotes
"T:\mp3\William S. Burroughs\1981 - You're The Guy I Want To Share My Money With [WSB tracks only]\11_Salt Chunk Mary" .... not even in quotes
>echo %@TRUENAME["%@UNQUOTE[%foo%]"] .... or even with this trickery
"T:\mp3\William S. Burroughs\1981 - You're The Guy I Want To Share My Money With [WSB tracks only]\11_Salt Chunk Mary" .... or even with this trickery
>echo %@TRUENAME["%@UNQUOTE["%foo%"]"] .... or even with this trickery
"T:\mp3\William S. Burroughs\1981 - You're The Guy I Want To Share My Money With [WSB tracks only]\11_Salt Chunk Mary" .... or even with this trickery
>echo "%@TRUENAME["%@UNQUOTE["%foo%"]"]" .... or even with this trickery
""T:\mp3\William S. Burroughs\1981 - You're The Guy I Want To Share My Money With [WSB tracks only]\11_Salt Chunk Mary"" .... or even with this trickery