Tried a few variations of this:
- Code: Select all
// Compose a string that consists of three lines.
string lines = "First line";
// Write the string to a file.
System.IO.StreamWriter file = new System.IO.StreamWriter("C:\UCCNC\test.txt");
file.WriteLine(lines);
file.Close();
Thanks for any help / direction