How would i add this text to a file because it seems to get confused with the other gr开发者_开发知识库eater than less than signs thanks
echo >> C:\docs\thisdoc.txt
If I've got you right, you want to write the text "echo >> c:\docs\thisdoc.txt" in a file? Then you need to escape the ">"characters with "^":
echo echo ^>^> C:\docs\thisdoc.txt > mybatch.cmd
精彩评论