开发者

Use a batch file to write txt to another file

开发者 https://www.devze.com 2023-04-06 17:39 出处:网络
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

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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号