if (!Regex.IsMatch(diskName, @"^[c-zC-Z](:\)?$")) { throw new FormatException($"{diskName} is not an effective disk name."); }