Sorry, maybe you didn't understand what I meant! What I mean is adding content to a text file as the second line, is this feasible?
/file set [find name="result.txt"] contents=[/interface pppoe-client get [find name=pppoe-out1] password+"<CR><LF>"]
/file set [find name="result.txt"] contents=[/interface pppoe-client get [find name=pppoe-out2] password+"<CR><LF>"]
After running this command, there is always only one line of content in the file.
/file set [find name="result.txt"] contents=[/interface pppoe-client get [find name=pppoe-out1] password+"<CR><LF>"]
/file set [find name="result.txt"] contents=[/interface pppoe-client get [find name=pppoe-out2] password+"<CR><LF>"]
After running this command, there is always only one line of content in the file.
Statistics: Posted by rosa — Tue Jan 16, 2024 4:38 am