Get Path from path string
using System; using System.Collections.Generic; using System.Text; using System.Configuration; public class Utils { public static string GetPath(string pathFilename) { return pathFilename.Substring(0, pathFilename.LastIndexOf('\\') + 1); } }