Hi c# experts. I need your help again. I want to move files from the current location to another location in the local machine. the new locations are expected to be dynamic. That means it must be possible to move the file to any location that i specify. These files are exe's, rar's ,zip's & many other types. please give me some guidelines.
How to move exe file to a different location in the local machine
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
richard lim23 pointsPosted Jun 5, 2007, 7:20 PM EDT
Reference.
using System.IO; private void button1_Click(object sender, EventArgs e) {File.Move(textBox1.text, textBox2.text); //textBox1.text is your source file and textBox2.text is your destination file
}