Charles Dye
Super Moderator
- May
- 5,364
- 163
Staff member
I don't understand this:
It seems that the contents of the first variable can prevent variable expansion later on the command line. Is this behavior intended? If so, is there a workaround? I've tried using %[TEST], SETDOS /X-5, SETDOS /X-7.
Code:
C:\>set open=(test
C:\>set close=test)
C:\>echo %open %close
(test %close
C:\>
It seems that the contents of the first variable can prevent variable expansion later on the command line. Is this behavior intended? If so, is there a workaround? I've tried using %[TEST], SETDOS /X-5, SETDOS /X-7.