I'm not sure if I have used the right expression in the question, but the context totally slips my mind.
I am trying to write a script to go to a student folder, depending on who is logged in, but I don't want to decide all of the folders it must use.
For example - If I want to access student A, I would search
\\Server\Students\Cohort10\user
But student B could be found in
\\Server\Students\Cohort08\user
As you can see, the cohort folders cause a problem for predefined paths because they are different.
So is there a way to type \server\Students\VARIABLE\user
I thought the variable was $ or * or something like that.