private bool IsRootPath(string path) { path = Regex.Replace(path.ToLower(), @"[a-z0-9_]+:[/\\]?", ""); return String.IsNullOrEmpty(path); }