I would like to create a .txt file and write to it, and if the file already exists I just want to append some more lines:
string path = @\"E:\\AppServ\\Examp
You could use a FileStream. This does all the work for you.
http://www.csharp-examples.net/filestream-open-file/