C#判断目录是否存在,不存在就创建

 

  strdFilePath = @"\存储卡\gprstest_all\DataExchange\Received\";

  if (!Directory.Exists(strdFilePath))

  {

    Directory.CreateDirectory(strdFilePath);

   }

原文地址:https://www.cnblogs.com/quietwalk/p/1845826.html