public void CreateDirectory(String Path, int Mode = 0777, bool ThrowErrorIfNotExists = true)
{
FileSystem NewFileSystem; String NewPath; Access(Path, out NewFileSystem, out NewPath);
if (ThrowErrorIfNotExists)
{
NewFileSystem.ImplCreateDirectory(NewPath, Mode);
}
else
{
try
{
NewFileSystem.ImplCreateDirectory(NewPath, Mode);
}
catch
{
}
}
}