windows xp - DOS echo command can't echo a user-set variable - Stack Overflow
The set command does not take spaces. The proper syntax would be: set tt=name What you have done in your example is set an environment variable tt. With that in mind, you can try this: echo %tt% and see your output....