Uppercase letters doesn't work because Scratch automatically case-folds text in variables. What works: all lower case letters (upper case letters get converted into lower case),"-" and "/"
(i didnt notice griffpatch made a scratch project with the same concept, to clear any confusion)