C# VS2008 windows app - Simple question about outputting string to wordpad
I have a stringbuilder that creates myString. I want to output the contents to word pad. However when I try the below do to the fact the string contains paths and filenames it opens the file in wordpad. I do not want to open any files just display the list of names and paths. Thoughts? Thanks!
System.Diagnostics.Process
.Start("wo
rdpad", myFiles.ToString());
Start Free Trial