1)
Console.WriteLine(System.Windows.Forms.Application.ExecutablePath);
Console.WriteLine(System.IO.Path.GetFileName(System.Reflection.Assembly.GetExecutingAssembly().Location));
}2) use System.Diagnostics.Process class, for exampleSystem.Diagnostics.Process.Start("cmd.exe");see
http://www.aspemporium.com/aspEmporium/cshrp/howtos/howto.asp?hid=18
Console.WriteLine(System.Windows.Forms.Application.ExecutablePath);
Console.WriteLine(System.IO.Path.GetFileName(System.Reflection.Assembly.GetExecutingAssembly().Location));
}2) use System.Diagnostics.Process class, for exampleSystem.Diagnostics.Process.Start("cmd.exe");see
http://www.aspemporium.com/aspEmporium/cshrp/howtos/howto.asp?hid=18
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货