public static bool CreateFolder( string strSourcePath) ... { try ...{ Directory.CreateDirectory(strSourcePath); return true; } catch ...{ return false; } }