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

 

 

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

  if (!Directory.Exists(strdFilePath))

  {

    Directory.CreateDirectory(strdFilePath);

   }

posted @ 2010-10-08 14:36  quietwalk  阅读(1504)  评论(0编辑  收藏  举报