//获取执行目录
String startPath = System.Windows.Forms.Application.StartupPath;

//获取执行盘符
String startDisk = System.Windows.Forms.Application.StartupPath.Substring(0, 1);

标签: none

添加新评论