C#判断目录是否存在,不存在就创建
strdFilePath = @"\存储卡\gprstest_all\DataExchange\Received\";
if (!Directory.Exists(strdFilePath))
{
Directory.CreateDirectory(strdFilePath);
}
strdFilePath = @"\存储卡\gprstest_all\DataExchange\Received\";
if (!Directory.Exists(strdFilePath))
{
Directory.CreateDirectory(strdFilePath);
}