希望可以定时执行一个程序或指令每天6:30执行TTPlayer(WinForm控制执行)不要写注册表,开机运行WinForm已经写好了,现在是希望当时间为6:30的时候该WinForm程序自动去打开TTPalyer不需要各位写出全部代码,写关键的就行了``比如:DingShi ds = new DingShi();
if(ds == "6:30")
{
//执行程序
}
else
{
```````````````
}谢谢~!
if(ds == "6:30")
{
//执行程序
}
else
{
```````````````
}谢谢~!
if(DateTime.Now.ToShotTimeString=="6:30:00")
{
System.Diagnostics.Process.Start(TTPlayer.exe);
}
if(DateTime.Now.ToShotTimeString=="6:30:00")
{
System.Diagnostics.Process.Start(TTPlayer.exe);
}
{
System.Diagnostics.Process.Start(@"程序路径");
}