Implement "Open Containing Folder" and highlight file

Posted by chaiguy on Stack Overflow See other posts from Stack Overflow or by chaiguy
Published on 2010-05-13T19:04:44Z Indexed on 2010/05/13 19:14 UTC
Read the original article Hit count: 252

Filed under:
|
|
|

This can be a handy functionality to have in a program that works with files/folders. It's easy enough to actually open the containing folder using:

System.Diagnostics.Process.Start( *path to folder* );

...but how do I go about actually selecting the target file within that parent folder? If I use the Process.Start method it actually attempts to open the file.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET