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* );
According to Windows Explorer Command-Line Options you just need to start an
explorer process with
For instance, '
explorer /select,c:\Windows' will open a window with
c:\windows folder selected.
Process.Start("explorer.exe", "/select," + filename) should be enough.