Write to a text file ? RRS feed

  • Question

  • Hi,
    I'm trying to write a string to a text file. But I see whole time errors. I have used StreamWriter, it didn't work or I couldn't make it work.
    So, what I want is:

    -Write "Hi, I use Windows 10 on my PC" to "C:/list.txt"

    It's really simple. Can you help me ?

    Friday, February 13, 2015 11:14 PM