Question by
MidnightCoffeeInc · Feb 02, 2021 at 07:42 PM ·
windowsexplorer
Open Folder In Foreground?
So I'm using this line to open an Explorer window, and it works fine when running in the Editor, but on a built application, that folder/Explorer Window opens behind the Unity Player app. Is there a way to have that Explorer window open in front of the game/app, while still having everything run? I hope that makes sense!
Here's the code I'm using:
System.Diagnostics.Process.Start("explorer.exe", "/select," + manager.loadedScenePath);
In this case "manager.loadedScenePath" is just a string path to a folder.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613024447im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
File explorer for Windows and Android 0 Answers
Gray screen when trying to open unity. 7 Answers
Can I run Unity 4.7 on windows xp 1 Answer
UNITY 5 GREY SCREEN HELP! 1 Answer
Unity (Pro): Unity 5.6.1f1 (64bit) with HoloToolkit: 0 Answers