see /help /set

note that /set is for setting global variables that exist until deleted, while /var creates temporary variables that exist only within the alias where they're created.