DOS Batch – How do I create an array with a unique set of values?
I’m messing around in DOS Batch and writing code that loops through files in a directory and adds the last four characters of the file name to an array. The problem is that there are duplicates in my array. Is there a way to only add the value to an array if it doesn’t exist yet?