private void button1_Click(object sender, EventArgs e) { string Path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); this.textBox1.Text = Path; }