Search found 2 matches

by ss64bit
2023-Jan-02, 9:31 pm
Forum: Windows CMD Shell
Topic: Ampersand and exclamation mark in concatenated variable
Replies: 2
Views: 2024

Re: Ampersand in concatenated variable

I've updated the code to work with ampersands, but now filenames with exclamation marks will be wrong as exclamation marks are stripped from the string. It appears that I cannot get ampersands and exclamation marks working together at the same time due to how I'm using EnableDelayedExpansion and dou...
by ss64bit
2022-Dec-31, 8:30 pm
Forum: Windows CMD Shell
Topic: Ampersand and exclamation mark in concatenated variable
Replies: 2
Views: 2024

Ampersand and exclamation mark in concatenated variable

Hi, I'm trying to create a batch file where I loop through a directory of audio files to create a variable holding all filenames wrapped in double quotes. I then pass this variable to foobar2000 to do some tagging. For example, I'll have a variable that will end up like this: "01. Track 1.mp3&q...