Basically, just want to make sure if the folder doesnt already exist, create it. //Create folder if it doesnt exist.
if (Directory.Exists(@"\\corp-files1\common2\Logistics\VC 2010\" + m))
{
if (Directory.Exists(@"\\corp-files1\common2\Logistics\VC 2010\" + m + @"\" + vn))
{
Directory.CreateDirectory(@"\\corp-files1\common2\Logistics\VC 2010\" + m + @"\" + vn + @"\" + fd);
}
else
{
Directory.CreateDirectory(@"\\corp-files1\common2\Logistics\VC 2010\" + m + @"\" + vn + @"\" + fd);
}
}
else
{
Directory.CreateDirectory(@"\\corp-files1\common2\Logistics\VC 2010\" + m);
}
...
Go to the complete details ...