打开本地某文件并使之处于选中状态
public static void BrowserFile(string filepath) { if (File.Exists(filepath) || Directory.Exists(filepath)) { Process.Start(@"explorer.exe", "/select,\"" + filepath + "\""); } }
public static void BrowserFile(string filepath) { if (File.Exists(filepath) || Directory.Exists(filepath)) { Process.Start(@"explorer.exe", "/select,\"" + filepath + "\""); } }