How do I echo the number 2 into a file, from a batch script?
This doesn\'t work:
Echo 2>> file.txt
because 2&g
2&g
Little-known feature: The redirection operator can go anywhere on the line.
>>file.txt echo 2