Process p = new Process();
p.StartInfo.FileName   = "cmd.exe";
p.StartInfo.UseShellExecute       = false;
p.StartInfo.RedirectStandardInput = true;
p.StartInfo.CreateNoWindow        = false;
p.Start();p.StandardInput.WriteLine( "at 8:30 xxx" );为什么按F5就可以加上,而找到文件直接双击运行就不行呢。