8
Answers

How can I change a .txt file's text in c:\windows?

Abdullah AKALIN

Abdullah AKALIN

14y
4.5k
1

Hello.I want to edit a txt file in c:\windows but I can't...I'm using this code:
StreamWriter sw = new StreamWriter(@"c:\windows\zamma\zamma.txt");
            sw.Write(textBox3.Text);
            sw.Close();
 
What's wrong whit my code? Thanks in advance....
(sorry for my Englisch...)
 
Answers (8)