Hey again,
I'm currently trying to create a program that takes a file, (an .ODL file - a running script) and deletes a word in a certain line. That works fine, however; when I try to save the contents of the RTB.Text back as the .ODL file, the program that I use with the .ODL file won't run, because of the "/per" on every line.
I need the script exactly the way it is before I open it...when I save it, with the exception of that one line I changed. How could I go about doing this?
-----
Also, How would I go about renaming a file (e.g. Test.txt to Test.tx_)?
Thanks in advance
I'm currently trying to create a program that takes a file, (an .ODL file - a running script) and deletes a word in a certain line. That works fine, however; when I try to save the contents of the RTB.Text back as the .ODL file, the program that I use with the .ODL file won't run, because of the "/per" on every line.
I need the script exactly the way it is before I open it...when I save it, with the exception of that one line I changed. How could I go about doing this?
-----
Also, How would I go about renaming a file (e.g. Test.txt to Test.tx_)?
Thanks in advance