开发者

Use a batch file to write txt to another file

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜