I would like to simply write to a text file, and the location I want to write to is my desktop. It is simply the syntax that I am missing.
Below is an example of what I am trying to do. The first line is taken from the reference sample, which works, but it outputs the output file to my default NT directory. The commented out line, is where I would like it to go but the syntax is not correct.
The attached pic is the error that I get in the output window.
private string path = Cbi.Core.UserDataDir.ToString() + "OutPut.txt"; // private string path = "@C:Users\Forrest\Desktop\OutPut.txt";
Comment