From 7277373d84ed1da517fabd81bd2704e1c8421ac6 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Fri, 24 Apr 2020 07:59:24 +1000 Subject: [PATCH] use shell when opening directories --- Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs b/Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs index f3f0ee32c..7165804a4 100644 --- a/Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs +++ b/Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs @@ -112,10 +112,11 @@ namespace Flow.Launcher.Plugin.SharedCommands public static void OpenLocationInExporer(string location) { + var psi = new ProcessStartInfo { FileName = FileExplorerProgramName, UseShellExecute = true, Arguments = location }; try { if (LocationExists(location)) - Process.Start(FileExplorerProgramName, location); + Process.Start(psi); } catch (Exception e) {