delphi 打开文件夹并定位到一个文件(关键是/select参数)

 strFileName := FcxLV[nIndex].Items.Item[FcxLV[nIndex].ItemIndex].SubItems.Strings[0]; //路径
  ShellExecute(0, nil, PChar('explorer.exe'),PChar('/e, ' + '/select,' + strFileName), nil, SW_NORMAL);

http://blog.csdn.net/yanjiaye520/article/details/6803795

原文地址:https://www.cnblogs.com/findumars/p/4895544.html