I have this little batch script:
SET @var = \"GREG\" ECHO %@var% PAUSE
When I run it, it prints:
H:\\Dynamics>SET @var = \"G
Try the following (note that there should not be a space between the VAR, =, and GREG).
VAR
=
GREG
SET VAR=GREG ECHO %VAR% PAUSE
Dont use spaces:
SET @var="GREG" ::instead of SET @var = "GREG" ECHO %@var% PAUSE