Batch Script Redirection Syntax
Solution 1:
I'm always looking for native methods to keep things looking a little cleaner.
Here's another alternative, that (to me) is even more readable:
(
ECHO Some Text Here
ECHO A little more text here
ECHO Some other text over here man
ECHO Can Scooby please have a Scooby snack
)>>"%tmpfile%"
It's also more maintainable, since it is much easier to turn on/off the redirection if needed as it is done in one place.