批处理,往TXT文件里的最后一行写东西字

2025年03月13日 01:49
有1个网友回答
网友(1):

set txt="%appdata%\aaa\bbb\test.txt"
type %txt%|find /i "[test4]"||>>%txt% echo [test4]
type %txt%|find /i "test5=5"||>>%txt% echo test5=5
pause