Hi,
DirectoryInfo d = new DirectoryInfo(@"D:\test");
FileInfo[] infos = d.GetFiles();
foreach (FileInfo file in infos)
{
File.Move(f.FullName, Path.Combine(f.DirectoryName, "N " + label3.Text + "-" + label4.Text + " " + "9187" + " " + "0000" +" "+ file+"Here"));
}
Actually this is my code, want to rename a after file from a label
Kindly kelp me out