写入文档的话,只是<>算特殊字符,一般来说,特殊字符加个逃逸字符^就好了,示例:C:\Users\huang\Desktop>echo ^<^>?% >> 1.txtC:\Users\huang\Desktop>type 1.txt<>?%