I am trying copy a file via xcopy under startup. But it doesn't work.
Here is code:
System.Diagnostics.ProcessStartInfo psi2 = new System.Diagnostics.ProcessStartInfo(@"xcopy.exe", @"E:\Debug\VipBat\* C:\\Users\\VCCS\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\" /s /i /y");
System.Diagnostics.Process.Start(psi2);