I have done with xcopy to copy files from one folder to another:
Process proc = new Process();
//proc.StartInfo.UseShellExecute = false;
//proc.StartInfo.CreateNoWindow = true;
proc.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
proc.StartInfo.FileName = @"C:\WINDOWS\system32\xcopy.exe";
string arg = @"R:\TREM " + fbd.SelectedPath + " /E /I /Y";
//proc.StartInfo.Arguments = @"C:\source C:\destination /E /I /Y";
proc.StartInfo.Arguments = arg;
proc.Start();
Now I want to see the exact small window(on copy time) when we copy anything using windows 7 interface, like Ctrl+C
, Ctrl+V
. Is it possible? If yes then how?