bilarion
4/2/2018 - 12:47 PM

Open Containing Folder

Opens the containing folder of a file in Java using explorer.exe

try {
  Runtime.getRuntime().exec("explorer.exe /select," + filePath);
} catch (IOException e) {
  e.printStackTrace();
}