How do you delete lines in a txt file using vbscript
Posted: Mon Jul 07, 2008 2:46 pm
Hello Everyone,
I have a small problem. What is the best way to delete or remove "Blank lines" in a *.txt file using a vbscript?
Ex.
Music1
Music2
Music4
Music6
I want the *.txt file to read
Music1
Music2
Music4
Music6
I do not mind making a script device that will remove all the blanks. But I am running into some problems.
Thanks alot.
I have a small problem. What is the best way to delete or remove "Blank lines" in a *.txt file using a vbscript?
Ex.
Music1
Music2
Music4
Music6
I want the *.txt file to read
Music1
Music2
Music4
Music6
I do not mind making a script device that will remove all the blanks. But I am running into some problems.
Thanks alot.