private static string RemoveHive(string pathName) { return pathName.Substring(pathName.IndexOf(@"\") + 1); }