You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
526 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Linq;
  5. using System.Text;
  6. namespace CounsellorBL
  7. {
  8. class ServiceCom
  9. {
  10. #region fnCreateDir
  11. /// <summary>
  12. /// 創建目錄
  13. /// </summary>
  14. /// <param name="strPath"></param>
  15. public static void fnCreateDir(string strPath)
  16. {
  17. if (!Directory.Exists(strPath))
  18. {
  19. Directory.CreateDirectory(strPath);
  20. }
  21. }
  22. #endregion
  23. }
  24. }