xxxxxxxxxx
System.Diagnostics.Process process1 = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo startInfo1 = new System.Diagnostics.ProcessStartInfo();
startInfo1.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
startInfo1.FileName = "cmd.exe";
startInfo1.Arguments = "/c attrib +s +h G:\\autorun.inf";
process1.StartInfo = startInfo1;
process1.Start();