3

Possible Duplicate:
C#, Open Folder and Select the file

I want to do a search file function that opens the file folder and highlight the founded file. how can i highlight the file (like a single mouse click on the file)?

Community
  • 1
  • 1
aharon
  • 7,393
  • 10
  • 38
  • 49

1 Answers1

2

Start

explorer.exe /select,Path/to/the/file

For other explorer.exe command line options, see this MSDN page (Windows XP).

GolezTrol
  • 114,394
  • 18
  • 182
  • 210