I need to allow a program from each 50 folders to drop in and take a file from there and move it to a shared folder. Direct me please.
private void button1_Click(object sender, EventArgs e) { string path = @"c:\text.txt"; string newPath = @"c:\d\text.txt"; FileInfo fileInf = new FileInfo(path); if (fileInf.Exists) { fileInf.MoveTo(newPath); } }