SyntaxFix
Write A Post
Hire A Developer
Questions
Try the following (note that there should not be a space between the VAR, =, and GREG).
VAR
=
GREG
SET VAR=GREG ECHO %VAR% PAUSE