Set is for enviromental variables ex: %systemdrive%, %path%, etc...
This does not configure a folder for you, but references one that is there already.
As an example:
At corporate headquarters
%PriServer% = SCorp
%AppServer% = SA_Corp
At a field office
%PriServer% = SFieldA
%AppServer% = SA_FieldA
At another field office
%PriServer% = SFieldB
%AppServer% = SA_FieldB
Now in my script I can just reference %PriServer% and use it to map everyones home drive to \\%PriServer%\Users$\Home\%UserName%
Or I need to launch a special application
Run \\%AppServer%\RunAtStart\WeAreWatching.EXE
So no matter where my servers are or what they are named I know that I have variable that I can use as a constant in my script.
Did that help any?
_________________________
Today is the tomorrow you worried about yesterday.