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.
Loading
richard limPosted Jun 5, 2007, 11:20 PM
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
}