//產生一個Log文件夾
string appPath = Application.StartupPath;
if (!Directory.Exists(appPath + "/log"))
{
Directory.CreateDirectory(appPath + "/log");
}
05-07 15:11