storing characters like in variables

August 17, 2009 at 16:17:13
Specs: Windows 7, 1.7ghz/2g
storing characters like < in variables without storing the " "

See More: storing characters like in variables

Report •


#1
August 17, 2009 at 20:59:44
Characters with special meanings in commands can be Set in a variable if they are triple escaped e.g. ^^^<


Report •

#2
August 18, 2009 at 01:06:22
Another way to do it is:

set "chars=<<>><<>>||>"
::display the result
set chars
pause

Neither of the double quotes are part of either the variable or string, they are only to escape special characters.


Report •

Related Solutions


Ask Question