title: Absolute file path from selected node in treeview C#
body: <p>I am making a GUI file mover using Treeview, the only issue I am having is getting the absolute file path. </p>
  
  <p>When I use this code: </p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
      {
          DirectoryInfo sourceDir = new DirectoryInfo(textBox1.Text);
  
          sourceDir.EnumerateFiles();
  
          var fileToMovePath = Path.GetFullPath(treeView1.SelectedNode.FullPath);
          var pathToMoveToo = textBox2.Text;
  
          //File.Move(fileToMovePath, pathToMoveToo);
          MessageBox.Show(fileToMovePath);
       }
  </code></pre>
  
  <p>I get this file path: </p>
  
  <p><a href="https://i.stack.imgur.com/lXX1s.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lXX1s.jpg" alt="enter image description here"></a></p>
  
  <p>Which obviously isn't what I want, as that file is actually stored on my desktop. Any ideas?</p>