If Windows explorer is open at a specific path, do not create a new instance
问题 I am using the following code so that when the user clicks on a button, an instance of Windows Explorer is opened at a specific path. But this causes a new instance of the Explorer to be opened. I want to change it so that, if Explorer is already open in the same path, the program does not create a new process and instead bring the open instance to front. private void button_Click(object sender, EventArgs e) { if (Directory.Exists(myPath)) Process filesFolder = Process.Start("explorer.exe",