Create variable for each file path

Hi, i'm trying to set a macro to create a variable for each file (the file name is the variable name) in a specific folder. Can it be done ?
This is what i tried but i can't find a way to "create" a variable for each folder.