I have been making a menu system but I've run into a problem: I have to use a variable that keeps track of the selected item, to specify the item I want to use in my list. I understand that this question has been asked before, but I haven't found a suitable answer that works yet
set new_option[%selected%]=%selection_symbol%%org_option[%selected%]%
The nested variable is "%org_option[%selected%]%"
The problem is that batch splits the the variable into "%org_option[%", "selected", and "%]%" but I want it to be split up so that the "selected" variable is used to define the position in the list, meaning that "selected" is nested in "org_option[]"