private static string FixPath(string path) { path = path.Trim(); return path.StartsWith("\\\\") ? path : path.Replace('\\', '/'); }