using System.IO;
private string strTempDate = DateTime.Now.ToString("yyyyMMdd");
/// <summary>
/// 根据当前日期创建一文件夹
/// </summary>
/// <param name="strPreXMLPath"></param>
/// <returns></returns>
private string CreateXMLDir(string strPreXMLPath)
{
strPreXMLPath+=strTempDate;
DirectoryInfo diBak = new DirectoryInfo(strPreXMLPath);
if (diBak.Exists)
{return strPreXMLPath;}
else
{
diBak.Create();
return diBak.FullName;
}
}