I can easily get Explorer to open up and select a file using the following :
string argument = @"/select, " + filePath;
System.Diagnostics.Process.Start("explorer.exe", argument);
However when I come to opening up the next file, I will get a new instance of explorer. This could result in our users opening having hundreds of explorers open by the end of an intensive day.
How can I get it to reuse an already open explorer instance to select the file I want?
Visual Studio can do this when you right click on a tab and select Open containing folder... providing explorer is already opened at the same directory. How has it been able to do this?