Board logo

标题: [已结]如何向文本中写入敏感字符 [打印本页]

作者: LIANGAIBIN     时间: 2008-11-16 11:16    标题: [已结]如何向文本中写入敏感字符
向文本中写入敏感字符
请教:
向文本中写入敏感字符
用批处理写入记事本时,有的敏感字符,或命令字符,写不进去,怎么解决?
比如:

echo <> >temp.txt
echo && >temp.txt
echo > >temp.txt
echo ^^^^^^ >temp.txt
echo %% >temp.txt
echo @@ >temp.txt
echo ## >temp.txt




请赐教!!!!!!!!!!!!!!!

Last edited by HAT on 2008-11-17 at 09:32 ]

作者: HAT     时间: 2008-11-16 12:36
本版搜索"转义字符"

作者: LIANGAIBIN     时间: 2008-11-16 23:59    标题: 如此而已
>temp.txt echo ^<^>
>>temp.txt echo ^&^&
>>temp.txt echo ^>
>>temp.txt echo ^^^^^^^^^^^^
>>temp.txt echo %%%%
>>temp.txt echo ^@^@
>>temp.txt echo ^#^#