Page 1 of 1

Deleting a line from a text file

Posted: Wed Jan 18, 2012 1:41 pm
by stevefromdodge
I have a script that's using "Search for files" to create a file listing called FileList.txt.I would like to scan FileList.txt and delete all of the lines that start with a certain string.Ideas?

Deleting a line from a text file

Posted: Thu Jan 19, 2012 5:48 am
by Oleg
You should rewrite all text in the loop and miss certain lines
See this example, please

Re: Deleting a line from a text file

Posted: Fri Jan 11, 2019 10:50 am
by Rukbunker
Previous link was dead, Correct link

Re: Deleting a line from a text file

Posted: Fri Jan 11, 2019 11:16 am
by Oleg
Corrected, thank you.
When we transferred information from old forum engine some information may be lost

Re: Deleting a line from a text file

Posted: Fri Jan 11, 2019 11:32 am
by Oleg
You can find all published examples here: http://robotask.com/samples/