I have this little batch script:
SET @var = \"GREG\" ECHO %@var% PAUSE
When I run it, it prints:
H:\\Dynamics>SET @var = \"G
Dont use spaces:
SET @var="GREG" ::instead of SET @var = "GREG" ECHO %@var% PAUSE